[TCP]: Introduce tcp_hdrlen() and tcp_optlen()
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 19 Mar 2007 00:43:48 +0000 (17:43 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:25:24 +0000 (22:25 -0700)
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 <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found