[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190116180904.j4s3nfs3k3xkrzev@kafai-mbp.dhcp.thefacebook.com>
Date: Wed, 16 Jan 2019 18:09:05 +0000
From: Martin Lau <kafai@...com>
To: unlisted-recipients:; (no To-header on input)
CC: Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
Peter Oskolkov <posk.devel@...il.com>,
Maciej Żenczykowski <maze@...gle.com>
Subject: Re: [PATCH bpf-next] bpf: bpf_setsockopt: reset sock dst on SO_MARK
changes
On Wed, Jan 16, 2019 at 08:47:54AM -0800, Peter Oskolkov wrote:
> In sock_setsockopt() (net/core/sock.h), when SO_MARK option is used
> to change sk_mark, sk_dst_reset(sk) is called. The same should be done
> in bpf_setsockopt.
>
> Reported-by: Maciej Żenczykowski <maze@...gle.com>
> Signed-off-by: Peter Oskolkov <posk@...gle.com>
Acked-by: Martin KaFai Lau <kafai@...com>
Powered by blists - more mailing lists