Re: [PATCH net] net/tls: swap sk_write_space on close

2019-08-09 Thread David Miller
From: Jakub Kicinski Date: Fri, 9 Aug 2019 18:36:23 -0700 > Now that we swap the original proto and clear the ULP pointer > on close we have to make sure no callback will try to access > the freed state. sk_write_space is not part of sk_prot, remember > to swap it. > > Reported-by: syzbot+dcdc9

[PATCH net] net/tls: swap sk_write_space on close

2019-08-09 Thread Jakub Kicinski
Now that we swap the original proto and clear the ULP pointer on close we have to make sure no callback will try to access the freed state. sk_write_space is not part of sk_prot, remember to swap it. Reported-by: syzbot+dcdc9deefaec44785...@syzkaller.appspotmail.com Fixes: 95fa145479fb ("bpf: sock