Eric Dumazet 9142e9007f 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>
2017-05-17 15:10:13 -04:00
..
2017-03-12 23:47:16 -07:00
2017-02-07 13:07:47 -05:00
2017-04-14 10:05:36 +02:00
2017-04-27 16:35:57 -04:00
2017-04-03 19:04:48 -07:00
2017-04-25 13:33:49 -04:00
2015-04-02 14:04:59 -04:00
2015-11-22 11:54:10 -05:00
2017-04-13 13:58:20 -04:00
2015-10-26 22:24:22 -07:00