aboutsummaryrefslogtreecommitdiff
path: root/lib/audit.c
diff options
context:
space:
mode:
authorJames Chapman <[email protected]>2024-08-19 15:33:33 +0100
committerJakub Kicinski <[email protected]>2024-08-20 16:52:28 -0700
commitbc3dd9ed04d69cba3bb603da06fa26d888233cff (patch)
tree9df1c1cf93fce3d2bbbabee9f33cf222520f3db2 /lib/audit.c
parent8594d9b85c07f05e431bd07e895c2a3ad9b85d6f (diff)
l2tp: use skb_queue_purge in l2tp_ip_destroy_sock
Recent commit ed8ebee6def7 ("l2tp: have l2tp_ip_destroy_sock use ip_flush_pending_frames") was incorrect in that l2tp_ip does not use socket cork and ip_flush_pending_frames is for sockets that do. Use __skb_queue_purge instead and remove the unnecessary lock. Also unexport ip_flush_pending_frames since it was originally exported in commit 4ff8863419cd ("ipv4: export ip_flush_pending_frames") for l2tp and is not used by other modules. Suggested-by: [email protected] Signed-off-by: James Chapman <[email protected]> Reviewed-by: Eric Dumazet <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/audit.c')
0 files changed, 0 insertions, 0 deletions