> > > > Hi, > Good catch, but the patch doesn't fix the bug entirely. The problem is that masterv can be > created just for this vlan and the br_vlan_put_master() above can free it, so we can > check a pointer that's not really up-to-date (and thus again leak memory). > You should move the new code above the br_vlan_put_master() call. > > Also please tag the proper branch, this is for net-next, and CC all bridge > maintainers (added Roopa). > Ok, thanks, I will send v2 -RongQing > Thank you, > Nik