]> git.baikalelectronics.ru Git - kernel.git/commit
kcm: Fix locking issue
authorTom Herbert <tom@herbertland.com>
Tue, 23 Aug 2016 18:55:31 +0000 (11:55 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Aug 2016 23:23:12 +0000 (16:23 -0700)
commitd8bae8036e9b2e13246c39ef8d875b284b3cf4fd
tree0d5f890a7b0d21fa7c4d7580a70e0bfcae2c0738
parent3fa902d2579c86f8eaf989b12edf5c057f7c24ea
kcm: Fix locking issue

Lock the lower socket in kcm_unattach. Release during call to strp_done
since that function cancels the RX timers and work queue with sync.

Also added some status information in psock reporting.

Signed-off-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/kcm/kcmproc.c
net/kcm/kcmsock.c