Re: [PATCH] bpf: fix return in bpf_skb_adjust_net

From: David Miller
Date: Thu Jul 13 2017 - 12:19:45 EST


From: Kefeng Wang <wangkefeng.wang@xxxxxxxxxx>
Date: Thu, 13 Jul 2017 14:27:58 +0800

> The bpf_skb_adjust_net() ignores the return value of bpf_skb_net_shrink/grow,
> and always return 0, fix it by return 'ret'.
>
> Signed-off-by: Kefeng Wang <wangkefeng.wang@xxxxxxxxxx>

Applied, thanks.