Re: [PATCH] bpf: fix return in bpf_skb_adjust_net
From: Daniel Borkmann
Date: Thu Jul 13 2017 - 05:21:19 EST
On 07/13/2017 08:27 AM, Kefeng Wang wrote:
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>
Sigh, yep of course. Thanks!
Acked-by: Daniel Borkmann <daniel@xxxxxxxxxxxxx>