On 10/24/2016 09:11 PM, Oliver Hartkopp wrote: > 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 > Suggested-by: Cong Wang > Signed-off-by: Oliver Hartkopp Added with Andrey Konovalov Tested-by to can/master with stable on Cc. Marc -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |