Patchwork [net-next] net: remove a stale comment for dl_next

login
register
mail settings
Submitter Eric Dumazet
Date April 19, 2013, 9:29 p.m.
Message ID <1366406965.16391.64.camel@edumazet-glaptop>
Download mbox | patch
Permalink /patch/238113/
State Accepted
Delegated to: David Miller
Headers show

Comments

Eric Dumazet - April 19, 2013, 9:29 p.m.
From: Eric Dumazet <edumazet@google.com>

dl_next member in struct request_sock doesn't need to be first.

We expect to insert a "struct common_sock" or a subset of it,
so this claim had to be verified.

Signed-off-by: Eric Dumazet <edumazet@google.com>
---
 include/net/request_sock.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/include/net/request_sock.h b/include/net/request_sock.h
index 9069e65..59795e4 100644
--- a/include/net/request_sock.h
+++ b/include/net/request_sock.h
@@ -48,7 +48,7 @@  extern int inet_rtx_syn_ack(struct sock *parent, struct request_sock *req);
 /* struct request_sock - mini sock to represent a connection request
  */
 struct request_sock {
-	struct request_sock		*dl_next; /* Must be first member! */
+	struct request_sock		*dl_next;
 	u16				mss;
 	u8				num_retrans; /* number of retransmits */
 	u8				cookie_ts:1; /* syncookie: encode tcpopts in timestamp */