diff options
| author | Eric Dumazet <edumazet@google.com> | 2020-09-09 01:27:40 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-10-01 11:11:49 +0200 |
| commit | c17c9e3e7cadfbdf11d6d340d0e37254a7e94ece (patch) | |
| tree | 4d7db004302c2aa1038d67212f914b4aea68f002 /net/ipv4/ip_output.c | |
| parent | 6afd3e4010e57d278c3e79b4fbe323ade9c14f93 (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>
Diffstat (limited to 'net/ipv4/ip_output.c')
0 files changed, 0 insertions, 0 deletions
