summaryrefslogtreecommitdiffstats
path: root/include/linux/can
diff options
context:
space:
mode:
authorOliver Hartkopp <socketcan@hartkopp.net>2009-12-25 06:47:47 +0000
committerDavid S. Miller <davem@davemloft.net>2010-01-03 21:31:03 -0800
commit20dd3850bcf860561496827b711fa10fecf6e787 (patch)
tree95ecd549717f2d654b870ffb44d342c04ab048b6 /include/linux/can
parent75ed0a897208c3273fd8dc0f71e1417dba5a049b (diff)
downloadop-kernel-dev-20dd3850bcf860561496827b711fa10fecf6e787.zip
op-kernel-dev-20dd3850bcf860561496827b711fa10fecf6e787.tar.gz
can: Speed up CAN frame receiption by using ml_priv
this patch removes the hlist that contains the CAN receiver filter lists. It uses the 'midlayer private' pointer ml_priv and links the filters directly to the CAN netdevice, which allows to omit the walk through the complete CAN devices hlist for each received CAN frame. This patch is tested and does not remove any locking. Signed-off-by: Oliver Hartkopp <oliver@hartkopp.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/can')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud