Re: [PATCH net-next] bridge: mrp: Use hlist_head instead of list_head for mrp

2020-11-09 Thread Jakub Kicinski
On Fri, 6 Nov 2020 22:50:49 +0100 Horatiu Vultur wrote: > Replace list_head with hlist_head for MRP list under the bridge. > There is no need for a circular list when a linear list will work. > This will also decrease the size of 'struct net_bridge'. > > Signed-off-by: Horatiu Vultur Applied, th

[PATCH net-next] bridge: mrp: Use hlist_head instead of list_head for mrp

2020-11-06 Thread Horatiu Vultur
Replace list_head with hlist_head for MRP list under the bridge. There is no need for a circular list when a linear list will work. This will also decrease the size of 'struct net_bridge'. Signed-off-by: Horatiu Vultur --- net/bridge/br_device.c | 2 +- net/bridge/br_mrp.c | 26 +++