summaryrefslogtreecommitdiffstats
path: root/arch/frv/include/asm/current.h
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 /arch/frv/include/asm/current.h
parent44298ec0f20c45b9be96e181976aef1152d373b2 (diff)
downloadlinux-8b64056dacf6ec81986d63dff96fca039fe95f6e.tar.gz
linux-8b64056dacf6ec81986d63dff96fca039fe95f6e.tar.bz2
linux-8b64056dacf6ec81986d63dff96fca039fe95f6e.zip
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 'arch/frv/include/asm/current.h')
0 files changed, 0 insertions, 0 deletions