diff options
author | Patrick McHardy <kaber@trash.net> | 2011-04-12 07:39:51 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-04-12 23:38:57 +0200 |
commit | 0e08785845093ef4ed220463a739bc8d0db95de7 (patch) | |
tree | e3c9539949a3c00ea2457439bb6f36e5c4842f54 /block/compat_ioctl.c | |
parent | net: Do not wrap sysctl igmp_max_memberships in IP_MULTICAST (diff) | |
download | linux-0e08785845093ef4ed220463a739bc8d0db95de7.tar.xz linux-0e08785845093ef4ed220463a739bc8d0db95de7.zip |
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>
Diffstat (limited to 'block/compat_ioctl.c')
0 files changed, 0 insertions, 0 deletions