diff options
author | Tom Herbert <tom@quantonium.net> | 2018-03-13 12:01:43 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-31 18:11:35 +0200 |
commit | 406996f36e01b5da0685e8e205302448b29feba3 (patch) | |
tree | d56dbdbb450844fd3038d8f1948cdc68c7ee6a58 /drivers/net/ethernet/hisilicon/hns/hns_enet.h | |
parent | 002f45571f6b498d417ba1dcc91bd59d386303a2 (diff) |
kcm: lock lower socket in kcm_attach
[ Upstream commit 2cc683e88c0c993ac3721d9b702cb0630abe2879 ]
Need to lock lower socket in order to provide mutual exclusion
with kcm_unattach.
v2: Add Reported-by for syzbot
Fixes: ab7ac4eb9832e32a09f4e804 ("kcm: Kernel Connection Multiplexor module")
Reported-by: syzbot+ea75c0ffcd353d32515f064aaebefc5279e6161e@syzkaller.appspotmail.com
Signed-off-by: Tom Herbert <tom@quantonium.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns/hns_enet.h')
0 files changed, 0 insertions, 0 deletions