aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorXin Long <[email protected]>2019-06-16 09:24:07 +0000
committerDavid S. Miller <[email protected]>2019-06-17 03:42:05 +0000
commit5cf02612b33f104fe1015b2dfaf1758ad3675588 (patch)
tree851b49191ef461b0c1748a6b923ac162f1963dc0 /net/lapb/lapb_iface.c
parentax25: fix inconsistent lock state in ax25_destroy_timer (diff)
downloadkernel-5cf02612b33f104fe1015b2dfaf1758ad3675588.tar.gz
kernel-5cf02612b33f104fe1015b2dfaf1758ad3675588.zip
tipc: purge deferredq list for each grp member in tipc_group_delete
Syzbot reported a memleak caused by grp members' deferredq list not purged when the grp is be deleted. The issue occurs when more(msg_grp_bc_seqno(hdr), m->bc_rcv_nxt) in tipc_group_filter_msg() and the skb will stay in deferredq. So fix it by calling __skb_queue_purge for each member's deferredq in tipc_group_delete() when a tipc sk leaves the grp. Fixes: b87a5ea31c93 ("tipc: guarantee group unicast doesn't bypass group broadcast") Reported-by: [email protected] Signed-off-by: Xin Long <[email protected]> Acked-by: Ying Xue <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions