diff options
author | Andrey Utkin <andrey.krieger.utkin@gmail.com> | 2014-07-07 23:22:50 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-28 08:00:05 -0700 |
commit | d5f758a35b50da3c1629c18b149d23ef99c91f70 (patch) | |
tree | a9fdc9c245b489fbf86f93ea7cf26118e0353038 /drivers/tty | |
parent | 76fd3c89bb35027abbd483929d92267479f7346a (diff) | |
download | juno-d5f758a35b50da3c1629c18b149d23ef99c91f70.tar.gz |
appletalk: Fix socket referencing in skb
[ Upstream commit 36beddc272c111689f3042bf3d10a64d8a805f93 ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
0 files changed, 0 insertions, 0 deletions