diff options
author | Eric Dumazet <edumazet@google.com> | 2012-04-29 09:08:22 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-21 09:39:59 -0700 |
commit | b032981516fbd7efb19efb9b380e1651f751af2e (patch) | |
tree | c1d7eb0913014f64cdb12bb8c2cd9f9bedd7025c /scripts | |
parent | 5d34eea4758c4946c171bd29a835a0e9a4bcb7ab (diff) | |
download | kernel_samsung_crespo-b032981516fbd7efb19efb9b380e1651f751af2e.zip kernel_samsung_crespo-b032981516fbd7efb19efb9b380e1651f751af2e.tar.gz kernel_samsung_crespo-b032981516fbd7efb19efb9b380e1651f751af2e.tar.bz2 |
netem: fix possible skb leak
[ Upstream commit 116a0fc31c6c9b8fc821be5a96e5bf0b43260131 ]
skb_checksum_help(skb) can return an error, we must free skb in this
case. qdisc_drop(skb, sch) can also be feeded with a NULL skb (if
skb_unshare() failed), so lets use this generic helper.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions