diff options
author | Eric Dumazet <edumazet@google.com> | 2020-05-07 18:32:21 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-08 03:11:07 +0200 |
commit | f78ed2204db9fc35b545d693865bddbe0149aa1f (patch) | |
tree | 547a43f4bee21b4880397429cca2a02ab85f397c /samples | |
parent | netpoll: netpoll_send_skb() returns transmit status (diff) | |
download | linux-f78ed2204db9fc35b545d693865bddbe0149aa1f.tar.xz linux-f78ed2204db9fc35b545d693865bddbe0149aa1f.zip |
netpoll: accept NULL np argument in netpoll_send_skb()
netpoll_send_skb() callers seem to leak skb if
the np pointer is NULL. While this should not happen, we
can make the code more robust.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions