diff options
| author | Marc Kleine-Budde <[email protected]> | 2017-07-30 23:51:01 +0200 |
|---|---|---|
| committer | Marc Kleine-Budde <[email protected]> | 2018-01-05 11:12:08 +0100 |
| commit | adb552c31915415fdb374172085f174f459727ea (patch) | |
| tree | 58a71eb129ccc4102fd236b0ef469e5f8f222359 /lib/mpi/mpi-cmp.c | |
| parent | 2ef5e75706d87065bc382bf85f1503008a5a1e7a (diff) | |
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 <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions