Re: [PATCH net v2] bridge: fix multicast router rlist endless loop

2015-06-10 Thread David Miller
From: Nikolay Aleksandrov Date: Tue, 9 Jun 2015 10:23:57 -0700 > From: Nikolay Aleksandrov > > Since the addition of sysfs multicast router support if one set > multicast_router to "2" more than once, then the port would be added to > the hlist every time and could end up linking to itself and

Re: [PATCH net v2] bridge: fix multicast router rlist endless loop

2015-06-09 Thread Herbert Xu
On Tue, Jun 09, 2015 at 10:23:57AM -0700, Nikolay Aleksandrov wrote: > From: Nikolay Aleksandrov > > Since the addition of sysfs multicast router support if one set > multicast_router to "2" more than once, then the port would be added to > the hlist every time and could end up linking to itself

[PATCH net v2] bridge: fix multicast router rlist endless loop

2015-06-09 Thread Nikolay Aleksandrov
From: Nikolay Aleksandrov Since the addition of sysfs multicast router support if one set multicast_router to "2" more than once, then the port would be added to the hlist every time and could end up linking to itself and thus causing an endless loop for rlist walkers. So to reproduce just do: ec