summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorWei Xu <wexu@redhat.com>2017-12-01 13:10:38 +0300
committerDavid S. Miller <davem@davemloft.net>2017-12-03 05:31:03 +0300
commit61d78537843e676e7f56ac6db333db0c0529b892 (patch)
treedc7a2620476bf2716201f858f342f3b389cdfae2 /tools/perf/scripts/python/syscall-counts.py
parentc33ee15b3820a03cf8229ba9415084197b827f8c (diff)
downloadlinux-61d78537843e676e7f56ac6db333db0c0529b892.tar.xz
tap: free skb if flags error
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>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions