diff options
author | Andrey Utkin <andrey.krieger.utkin@gmail.com> | 2014-07-07 22:22:50 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-07-09 04:39:43 +0200 |
commit | 36beddc272c111689f3042bf3d10a64d8a805f93 (patch) | |
tree | 22af97ed421e6e98645259a4f39b5787e909915c /drivers/net/usb | |
parent | ip_tunnel: fix ip_tunnel_lookup (diff) | |
download | linux-36beddc272c111689f3042bf3d10a64d8a805f93.tar.xz linux-36beddc272c111689f3042bf3d10a64d8a805f93.zip |
appletalk: Fix socket referencing in skb
Setting just skb->sk without taking its reference and setting a
destructor is invalid. However, in the places where this was done, skb
is used in a way not requiring skb->sk setting. So dropping the setting
of skb->sk.
Thanks to Eric Dumazet <eric.dumazet@gmail.com> for correct solution.
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=79441
Reported-by: Ed Martin <edman007@edman007.com>
Signed-off-by: Andrey Utkin <andrey.krieger.utkin@gmail.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb')
0 files changed, 0 insertions, 0 deletions