diff options
author | Oliver Hartkopp <[email protected]> | 2016-10-24 21:11:26 +0200 |
---|---|---|
committer | Marc Kleine-Budde <[email protected]> | 2016-10-31 20:48:19 +0100 |
commit | deb507f91f1adbf64317ad24ac46c56eeccfb754 (patch) | |
tree | b8fb378600f3f87550ba29171f0993a1f10fe7b4 /net/unix/garbage.c | |
parent | 460d2830b00db407be2b72ed792eb3596f245192 (diff) |
can: bcm: fix warning in bcm_connect/proc_register
Andrey Konovalov reported an issue with proc_register in bcm.c.
As suggested by Cong Wang this patch adds a lock_sock() protection and
a check for unsuccessful proc_create_data() in bcm_connect().
Reference: http://marc.info/?l=linux-netdev&m=147732648731237
Reported-by: Andrey Konovalov <[email protected]>
Suggested-by: Cong Wang <[email protected]>
Signed-off-by: Oliver Hartkopp <[email protected]>
Acked-by: Cong Wang <[email protected]>
Tested-by: Andrey Konovalov <[email protected]>
Cc: linux-stable <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions