OSDN Git Service

Merge branch 'net-skb_put_padto-fixes'
authorDavid S. Miller <davem@davemloft.net>
Wed, 9 Sep 2020 18:04:39 +0000 (11:04 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Sep 2020 18:04:39 +0000 (11:04 -0700)
Eric Dumazet says:

====================
net: skb_put_padto() fixes

sysbot reported a bug in qrtr leading to use-after-free.

First patch fixes the issue.

Second patch addes __must_check attribute to avoid similar
issues in the future.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge