]> rtime.felk.cvut.cz Git - socketcan-devel.git/commit
Updated to latest CAN core changes:
authorhartkopp <hartkopp@030b6a49-0b11-0410-94ab-b0dab22257f2>
Wed, 21 Jan 2009 10:14:42 +0000 (10:14 +0000)
committerhartkopp <hartkopp@030b6a49-0b11-0410-94ab-b0dab22257f2>
Wed, 21 Jan 2009 10:14:42 +0000 (10:14 +0000)
commit3e4350c1649adfabd198c201d7a1ead9b2199fd3
tree57f0a37a87edd9af2d45c84a590db818a399b905
parent32f73bcf13fb5cb41a41e856cc961d54aa10556d
Updated to latest CAN core changes:

From commit r890:
- removed avoidable copy of data in bcm_rx_handler()
- some removal of duplicate code

From commit r894:
Omit unneeded skb_clone() calls.
The AF_CAN core delivered always cloned sk_buffs to the AF_CAN
protocols, although this was _only_ needed by the can-raw protocol.
With this (additionally documented) change, the AF_CAN core calls the
callback functions of the registered AF_CAN protocols with the original
(uncloned) sk_buff pointer and let's the can-raw protocol do the
skb_clone() itself which omits all unneeded skb_clone() calls for other
AF_CAN protocols.

git-svn-id: svn://svn.berlios.de//socketcan/trunk@914 030b6a49-0b11-0410-94ab-b0dab22257f2
kernel/2.6/net/can/bcm-prior-2-6-22.c