commit | 48668eb1ede2fff6648420a8e8f626622e29b1ee | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Wed Sep 09 01:27:40 2020 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Oct 01 20:40:01 2020 +0200 |
tree | 110856f7bc94c676e8658f1597d860dcf48f9082 | |
parent | 9429a6b7e94eef4473ab2e5a6fbaddd8a65e24e9 [diff] |
net: add __must_check to skb_put_padto() [ Upstream commit 4a009cb04aeca0de60b73f37b102573354214b52 ] skb_put_padto() and __skb_put_padto() callers must check return values or risk use-after-free. 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>