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

2015-06-09 Thread Nikolay Aleksandrov
On Tue, Jun 9, 2015 at 5:12 PM, Herbert Xu wrote: > On Tue, Jun 09, 2015 at 02:32:28AM -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 th

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

2015-06-09 Thread Herbert Xu
On Tue, Jun 09, 2015 at 02:32:28AM -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] 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