diff options
author | Oliver Hartkopp <socketcan@hartkopp.net> | 2016-10-24 22:11:26 +0300 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2016-10-31 22:48:19 +0300 |
commit | deb507f91f1adbf64317ad24ac46c56eeccfb754 (patch) | |
tree | b8fb378600f3f87550ba29171f0993a1f10fe7b4 /scripts/mkversion | |
parent | 460d2830b00db407be2b72ed792eb3596f245192 (diff) | |
download | linux-deb507f91f1adbf64317ad24ac46c56eeccfb754.tar.xz |
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 <andreyknvl@google.com>
Suggested-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Acked-by: Cong Wang <xiyou.wangcong@gmail.com>
Tested-by: Andrey Konovalov <andreyknvl@google.com>
Cc: linux-stable <stable@vger.kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'scripts/mkversion')
0 files changed, 0 insertions, 0 deletions