]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "[BNX2]: Seems to not need net/tcp.h"
authorLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 12 Jul 2007 23:40:08 +0000 (16:40 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 12 Jul 2007 23:42:13 +0000 (16:42 -0700)
commit858c8b6cb76cf8a598c2418ecad53326bfc96ad5
tree8f01b0c66c2900dec36b11ba1693a05e45cbe26d
parent825b8f1c79c596b1b299c0565c3ee57be35d4da9
Revert "[BNX2]: Seems to not need net/tcp.h"

This reverts commit 1ad5fc8e1b084ba2a5a8b0dc16afcee333a0da70.  The
driver _does_ need the networking header files;

  CC [M]  drivers/net/bnx2.o
drivers/net/bnx2.c: In function 'bnx2_start_xmit':
drivers/net/bnx2.c:5177: warning: implicit declaration of function 'tcp_optlen'
drivers/net/bnx2.c:5181: error: invalid application of 'sizeof' to incomplete type 'struct ipv6hdr'
drivers/net/bnx2.c:5202: error: invalid application of 'sizeof' to incomplete type 'struct tcphdr'
drivers/net/bnx2.c:5207: warning: implicit declaration of function 'tcp_hdr'
drivers/net/bnx2.c:5207: error: invalid type argument of '->'
make[2]: *** [drivers/net/bnx2.o] Error 1
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2

Cc: Ilpo Jävinen <ilpo.jarvinen@helsinki.fi>
Cc: David Miller <davem@davemloft.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/net/bnx2.c