Marc Kleine-Budde adb552c319 can: raw: raw_bind(): bail out if can_family is not AF_CAN
Until now CAN raw's bind() doesn't check if the can_familiy in the
struct sockaddr_can is set to AF_CAN. This patch adds the missing check.

Acked-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2018-01-05 11:12:08 +01:00
..
2018-01-02 14:27:30 -05:00
2018-01-02 14:27:29 -05:00
2017-12-27 12:11:51 -05:00
2018-01-02 14:27:29 -05:00