aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorGirish Moodalbail <[email protected]>2017-10-25 07:23:04 +0000
committerDavid S. Miller <[email protected]>2017-10-26 08:57:39 +0000
commit78e0ea6791d7baafb8a0ca82b1bd0c7b3453c919 (patch)
tree6be52d342cd4ea32359a90ec7aabc96d9b08dd40 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parenttcp: call tcp_rate_skb_sent() when retransmit with unaligned skb->data (diff)
downloadkernel-78e0ea6791d7baafb8a0ca82b1bd0c7b3453c919.tar.gz
kernel-78e0ea6791d7baafb8a0ca82b1bd0c7b3453c919.zip
tap: double-free in error path in tap_open()
Double free of skb_array in tap module is causing kernel panic. When tap_set_queue() fails we free skb_array right away by calling skb_array_cleanup(). However, later on skb_array_cleanup() is called again by tap_sock_destruct through sock_put(). This patch fixes that issue. Fixes: 362899b8725b35e3 (macvtap: switch to use skb array) Signed-off-by: Girish Moodalbail <[email protected]> Acked-by: Jason Wang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions