diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2017-07-31 00:51:01 +0300 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2018-01-05 13:12:08 +0300 |
commit | adb552c31915415fdb374172085f174f459727ea (patch) | |
tree | 58a71eb129ccc4102fd236b0ef469e5f8f222359 /samples/bpf/test_cgrp2_array_pin.c | |
parent | 2ef5e75706d87065bc382bf85f1503008a5a1e7a (diff) | |
download | linux-adb552c31915415fdb374172085f174f459727ea.tar.xz |
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>
Diffstat (limited to 'samples/bpf/test_cgrp2_array_pin.c')
0 files changed, 0 insertions, 0 deletions