aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorOliver Hartkopp <oliver@hartkopp.net>2010-02-02 07:21:34 -0800
committerDavid S. Miller <davem@davemloft.net>2010-02-02 07:21:34 -0800
commit8b64056dacf6ec81986d63dff96fca039fe95f6e (patch)
tree80119c42025a48ab9dacd90906794d8c2df05164 /include/linux
parent44298ec0f20c45b9be96e181976aef1152d373b2 (diff)
can: deny filterlist access on non-CAN interfaces
In commit 20dd3850bcf860561496827b711fa10fecf6e787 "can: Speed up CAN frame receiption by using ml_priv" the formerly used hlist of receiver lists for each CAN netdevice has been replaced. The hlist content ensured only CAN netdevices to be accessed by the can_rx_(un)register() functions which accidently dropped away together with the hlist receiver implementation. This patch re-introduces the check for CAN netdevices in can_rx_(un)register(). Signed-off-by: Oliver Hartkopp <oliver@hartkopp.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions