From: Eric Dumazet
Date: Thu, 3 May 2018 13:37:54 -0700
> syzbot caught an infinite recursion in nsh_gso_segment().
>
> Problem here is that we need to make sure the NSH header is of
> reasonable length.
...
> Fixes: c411ed854584 ("nsh: add GSO support")
> Signed-off-by: Eric Dumazet
> Cc: Ji
On Thu, 3 May 2018 13:37:54 -0700, Eric Dumazet wrote:
> diff --git a/net/nsh/nsh.c b/net/nsh/nsh.c
> index
> d7da99a0b0b852d7459eed9ac6d3cdf3d49a1a1c..9696ef96b719bf24625adea2a959deac1d2a975f
> 100644
> --- a/net/nsh/nsh.c
> +++ b/net/nsh/nsh.c
> @@ -57,6 +57,8 @@ int nsh_pop(struct sk_buff *sk