summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/data.c
diff options
context:
space:
mode:
authorWei Xu <wexu@redhat.com>2017-12-01 05:10:37 -0500
committerDavid S. Miller <davem@davemloft.net>2017-12-02 21:31:03 -0500
commitc33ee15b3820a03cf8229ba9415084197b827f8c (patch)
treec7edb2a80d0c8e5d7e2485917e0874718dc17c83 /fs/f2fs/data.c
parent6e474083f3daf3a3546737f5d7d502ad12eb257c (diff)
downloadop-kernel-dev-c33ee15b3820a03cf8229ba9415084197b827f8c.zip
op-kernel-dev-c33ee15b3820a03cf8229ba9415084197b827f8c.tar.gz
tun: free skb in early errors
tun_recvmsg() supports accepting skb by msg_control after commit ac77cfd4258f ("tun: support receiving skb through msg_control"), the skb if presented should be freed no matter how far it can go along, otherwise it would be leaked. This patch fixes several missed cases. 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 'fs/f2fs/data.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud