lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 16 Jan 2019 16:35:33 -0800
From:   Maciej ┼╗enczykowski <zenczykowski@...il.com>
To:     Martin Lau <kafai@...com>
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>
Subject: Re: [PATCH bpf-next] bpf: bpf_setsockopt: reset sock dst on SO_MARK changes

On Wed, Jan 16, 2019 at 10:09 AM Martin Lau <kafai@...com> 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>
Reviewed-by: Maciej ┼╗enczykowski <maze@...gle.com>

Powered by blists - more mailing lists