Home
last modified time | relevance | path

Searched hist:"61 d78537" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/
H A Dtap.c61d78537 Fri Dec 01 04:10:38 CST 2017 Wei Xu <wexu@redhat.com> 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>