[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <39e6f6c70703131446r3341c6c0i2a8168fdfcbde868@mail.gmail.com>
Date: Tue, 13 Mar 2007 18:46:11 -0300
From: "Arnaldo Carvalho de Melo" <acme@...stprotocols.net>
To: "David Miller" <davem@...emloft.net>
Cc: "Netdev List" <netdev@...r.kernel.org>
Subject: [PATCH 09/15] [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 <acme@...hat.com>
---
drivers/net/atl1/atl1_main.c | 7 +++----
drivers/net/bnx2.c | 7 +++----
drivers/net/e1000/e1000_main.c | 4 ++--
drivers/net/ehea/ehea_main.c | 2 +-
drivers/net/ixgb/ixgb_main.c | 2 +-
drivers/net/myri10ge/myri10ge.c | 3 +--
drivers/net/netxen/netxen_nic_hw.c | 3 +--
drivers/net/netxen/netxen_nic_main.c | 2 +-
drivers/net/sky2.c | 2 +-
drivers/net/tg3.c | 4 ++--
drivers/s390/net/qeth_eddp.c | 8 ++++----
include/linux/tcp.h | 10 ++++++++++
net/ipv4/tcp_ipv4.c | 2 +-
net/ipv6/tcp_ipv6.c | 2 +-
14 files changed, 32 insertions(+), 26 deletions(-)
View attachment "0009-TCP-Introduce-tcp_hdrlen-and-tcp_optlen.patch" of type "text/x-patch" (10816 bytes)
Powered by blists - more mailing lists