Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1686755

Re: [PATCH] bpf: fix return in bpf_skb_adjust_net

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH] bpf: fix return in bpf_skb_adjust_net
Date 2017-07-13 18:20 +0200
Message-ID <u2P0m-7Rn-9@gated-at.bofh.it> (permalink)
References <u2FX4-240-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Kefeng Wang <wangkefeng.wang@huawei.com>
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@huawei.com>

Applied, thanks.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] bpf: fix return in bpf_skb_adjust_net Kefeng Wang <wangkefeng.wang@huawei.com> - 2017-07-13 08:40 +0200
  Re: [PATCH] bpf: fix return in bpf_skb_adjust_net Daniel Borkmann <daniel@iogearbox.net> - 2017-07-13 11:30 +0200
  Re: [PATCH] bpf: fix return in bpf_skb_adjust_net David Miller <davem@davemloft.net> - 2017-07-13 18:20 +0200

csiph-web