From: Eric Dumazet <eric.duma...@gmail.com>
Date: Tue, 16 May 2017 13:27:53 -0700

> From: Eric Dumazet <eduma...@google.com>
> 
> 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 <eduma...@google.com>
> Reported-by: Paul Gortmaker <paul.gortma...@windriver.com>
> Reported-by: Randy Dunlap <rdun...@infradead.org>
> Reported-by: Stephen Rothwell <s...@canb.auug.org.au>

Applied and queued up for -stable, thanks Eric.

Reply via email to