summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/broadcom
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2017-05-16 23:27:53 +0300
committerDavid S. Miller <davem@davemloft.net>2017-05-17 22:10:13 +0300
commit9142e9007f2d7ab58a587a1e1d921b0064a339aa (patch)
treeec7c29773123e851e8ba6836de7acf5735363eb7 /drivers/net/ethernet/broadcom
parent2423496af35d94a87156b063ea5cedffc10a70a1 (diff)
downloadlinux-9142e9007f2d7ab58a587a1e1d921b0064a339aa.tar.xz
net: fix compile error in skb_orphan_partial()
If CONFIG_INET is not set, net/core/sock.c can not compile : net/core/sock.c: In function ‘skb_orphan_partial’: net/core/sock.c:1810:2: error: implicit declaration of function ‘skb_is_tcp_pure_ack’ [-Werror=implicit-function-declaration] if (skb_is_tcp_pure_ack(skb)) ^ Fix this by always including <net/tcp.h> Fixes: f6ba8d33cfbb ("netem: fix skb_orphan_partial()") Signed-off-by: Eric Dumazet <edumazet@google.com> Reported-by: Paul Gortmaker <paul.gortmaker@windriver.com> Reported-by: Randy Dunlap <rdunlap@infradead.org> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom')
0 files changed, 0 insertions, 0 deletions