can: add can_free_echo_skb() for upcoming drivers
authorWolfgang Grandegger <wg@grandegger.com>
Tue, 1 Sep 2009 05:26:12 +0000 (05:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Sep 2009 09:16:14 +0000 (02:16 -0700)
commit39e3ab6fded4d7e66e01a878f0cae23ddd480c3b
tree44439df4436f965269f8f795cdf048290a202ed7
parentfab4e76373a614d3af624caedf18bee43fc6ca16
can: add can_free_echo_skb() for upcoming drivers

This patch adds the function can_free_echo_skb to the CAN
device interface to allow upcoming drivers to release echo
skb's in case of error.

Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/can/dev.c
include/linux/can/dev.h