OpenCloudOS-Kernel/drivers/connector
Patrick McHardy 0e08785845 connector: fix skb double free in cn_rx_skb()
When a skb is delivered to a registered callback, cn_call_callback()
incorrectly returns -ENODEV after freeing the skb, causing cn_rx_skb()
to free the skb a second time.

Reported-by: Eric B Munson <emunson@mgebm.net>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Tested-by: Eric B Munson <emunson@mgebm.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-04-12 14:38:57 -07:00
..
Kconfig trivial: Kconfig: .ko is normally not included in module names 2009-06-12 18:01:50 +02:00
Makefile [PATCH] Process Events Connector 2005-11-07 07:53:35 -08:00
cn_proc.c connector: Use this_cpu operations 2010-12-17 15:18:05 +01:00
cn_queue.c connector: convert to synchronous netlink message processing 2011-03-30 17:14:33 -07:00
connector.c connector: fix skb double free in cn_rx_skb() 2011-04-12 14:38:57 -07:00