]> git.baikalelectronics.ru Git - kernel.git/commit
can: sja1000: fix bug using library functions for skb allocation
authorKurt Van Dijck <kurt.van.dijck@eia.be>
Tue, 27 Oct 2009 00:33:59 +0000 (17:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Oct 2009 08:02:33 +0000 (01:02 -0700)
commitcd078fa7ee6aeaedf92c0447c4f7bb941c455144
treeac65c38756207bba5852eb92d18ca456946a2413
parent480eede58affcfb33190c1cf9d79096631d7a027
can: sja1000: fix bug using library functions for skb allocation

Commit 72d67014 "can: provide library functions for skb allocation"
did not properly remove two lines of the SJA1000 driver resulting in
a 'skb_over_panic' when calling skb_put, as reported by Kurt.

Signed-off-by: Kurt Van Dijck <kurt.van.dijck@eia.be>
Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/can/sja1000/sja1000.c