From: Arnaldo Carvalho de Melo Date: Mon, 19 Mar 2007 00:43:48 +0000 (-0700) Subject: [TCP]: Introduce tcp_hdrlen() and tcp_optlen() X-Git-Tag: v2.6.22-rc1~1128^2~314 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab6a5bb6b28a970104a34f0f6959b73cf61bdc72;p=pandora-kernel.git [TCP]: Introduce tcp_hdrlen() and tcp_optlen() The ip_hdrlen() buddy, created to reduce the number of skb->h.th-> uses and to avoid the longer, open coded equivalent. Ditched a no-op in bnx2 in the process. I wonder if we should have a BUG_ON(skb->h.th->doff < 5) in tcp_optlen()... Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller --- Reading git-diff-tree failed