linux_dsm_epyc7002/net
Hangbin Liu 9c8bb163ae igmp, mld: Fix memory leak in igmpv3/mld_del_delrec()
In function igmpv3/mld_add_delrec() we allocate pmc and put it in
idev->mc_tomb, so we should free it when we don't need it in del_delrec().
But I removed kfree(pmc) incorrectly in latest two patches. Now fix it.

Fixes: 24803f38a5 ("igmp: do not remove igmp souce list info when ...")
Fixes: 1666d49e1d ("mld: do not remove mld souce list info when ...")
Reported-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-02-09 16:43:45 -05:00
..
6lowpan
9p
802
8021q
appletalk
atm
ax25
batman-adv
bluetooth
bridge
caif
can
ceph
core udp: properly cope with csum errors 2017-02-07 11:19:00 -05:00
dcb
dccp
decnet
dns_resolver
dsa net: dsa: Do not destroy invalid network devices 2017-02-08 14:50:51 -05:00
ethernet net: introduce device min_header_len 2017-02-08 13:56:37 -05:00
hsr
ieee802154
ipv4 igmp, mld: Fix memory leak in igmpv3/mld_del_delrec() 2017-02-09 16:43:45 -05:00
ipv6 igmp, mld: Fix memory leak in igmpv3/mld_del_delrec() 2017-02-09 16:43:45 -05:00
ipx
irda
iucv
kcm kcm: fix 0-length case for kcm_sendmsg() 2017-02-09 16:38:48 -05:00
key
l2tp
l3mdev
lapb
llc
mac80211
mac802154
mpls
ncsi
netfilter
netlabel
netlink
netrom
nfc
openvswitch
packet packet: round up linear to header len 2017-02-08 13:56:37 -05:00
phonet
qrtr
rds
rfkill
rose
rxrpc
sched
sctp sctp: check af before verify address in sctp_addr_id2transport 2017-02-07 14:07:23 -05:00
strparser
sunrpc
switchdev
tipc
unix
vmw_vsock
wimax
wireless
x25
xfrm
compat.c
Kconfig
Makefile
socket.c
sysctl_net.c