Re: [PATCH 1/3] Rough VJ Channel Implementation - vj_core.patch
From: David Miller <davem@davemloft.net>
Date: 2006-07-08 00:04:40
From: David Miller <davem@davemloft.net>
Date: 2006-07-08 00:04:40
From: Kelly Daly <redacted> Date: Thu, 22 Jun 2006 12:05:35 +1000
quoted
The hash table bits look good, just as they did last time :-) So I'll put this part into my vj-2.6 tree now, thanks.Rockin' - thanks... Sorry for the massive delay - here's the next attempt.
My review delay was just as bad if not worse :-)
+static int sock_add_netchannel(struct sock *sk)
+{
+ struct netchannel *np;
+
+ np = kmalloc(sizeof(struct netchannel), GFP_KERNEL);
+ if (!np)
+ return -ENOMEM;
+ netchannel_init(np, netchannel_wake, (void *)np);
+ sk->sk_channel = np;
+
+ return 0;
+}This function is unreferenced entirely? It's marked static, so don't bother including it unless it is being used. Fix this, give me a good changelog and signed-off-by line and I'll stick this into the vj-2.6 tree Thanks!