summaryrefslogtreecommitdiff
path: root/include/linux/netdev_features.h
diff options
context:
space:
mode:
authorWei Xu <wexu@redhat.com>2017-12-01 05:10:38 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-12-17 15:07:58 +0100
commit616bada6fd46b77351a4033392035de7875c48b6 (patch)
tree040c4c95166cd17bfeb3acd134d3ba9d55f1f13a /include/linux/netdev_features.h
parent8067098c04be5a9058128164e9779e4c2e7c6dc1 (diff)
tap: free skb if flags error
[ Upstream commit 61d78537843e676e7f56ac6db333db0c0529b892 ] tap_recvmsg() supports accepting skb by msg_control after commit 3b4ba04acca8 ("tap: support receiving skb from msg_control"), the skb if presented should be freed within the function, otherwise it would be leaked. Signed-off-by: Wei Xu <wexu@redhat.com> Reported-by: Matthew Rosato <mjrosato@linux.vnet.ibm.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/netdev_features.h')
0 files changed, 0 insertions, 0 deletions