[Bridge] [PATCH][next] netfilter: Replace zero-length array with flexible-array member

2020-02-20 Thread Gustavo A. R. Silva
The current codebase makes use of the zero-length array language extension to the C90 standard, but the preferred mechanism to declare variable-length types such as these ones is a flexible array member[1][2], introduced in C99: struct foo { int stuff; struct boo array[]; }; By

Re: [Bridge] [RFC net-next v3 03/10] net: bridge: mrp: Add MRP interface used by netlink

2020-02-20 Thread Allan W. Nielsen
On 20.02.2020 11:08, Nikolay Aleksandrov wrote: EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe On 26/01/2020 15:28, Horatiu Vultur wrote: The 01/25/2020 20:16, Allan W. Nielsen wrote: On 25.01.2020 16:20, Andrew Lunn wrote: EXTERNAL EMAIL: Do not

Re: [Bridge] [RFC net-next v3 00/10] net: bridge: mrp: Add support for Media Redundancy Protocol (MRP)

2020-02-20 Thread Allan W. Nielsen
Hi Nik, On 20.02.2020 12:48, Nikolay Aleksandrov wrote: In light of all the discussions and details that were explained, and as you've noted above, I think more code should be put in kernel space at the very least the performance/latency critical parts would benefit from being executed in the

Re: [Bridge] [RFC net-next v3 00/10] net: bridge: mrp: Add support for Media Redundancy Protocol (MRP)

2020-02-20 Thread Nikolay Aleksandrov
On 18/02/2020 14:18, Allan W. Nielsen wrote: > > Hi All, > > Its been a while since posting this serie. We got some good and very > specific comments, but there has not been much discussion on the overall > architecture. > > Here is the list of items we have noted to be fixed in the next

Re: [Bridge] [RFC net-next v3 03/10] net: bridge: mrp: Add MRP interface used by netlink

2020-02-20 Thread Nikolay Aleksandrov
On 26/01/2020 15:28, Horatiu Vultur wrote: > The 01/25/2020 20:16, Allan W. Nielsen wrote: >> On 25.01.2020 16:20, Andrew Lunn wrote: >>> EXTERNAL EMAIL: Do not click links or open attachments unless you know the >>> content is safe >>> >>> On Sat, Jan 25, 2020 at 12:37:26PM +0100, Horatiu Vultur

Re: [Bridge] KASAN: use-after-free Read in bitmap_ip_ext_cleanup

2020-02-20 Thread syzbot
syzbot suspects this bug was fixed by commit: commit 32c72165dbd0e246e69d16a3ad348a4851afd415 Author: Kadlecsik József Date: Sun Jan 19 21:06:49 2020 + netfilter: ipset: use bitmap infrastructure completely bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=17079245e0

[Bridge] [PATCH] bridge: br_stp: Use built-in RCU list checking

2020-02-20 Thread madhuparnabhowmik10
From: Madhuparna Bhowmik list_for_each_entry_rcu() has built-in RCU and lock checking. Pass cond argument to list_for_each_entry_rcu() to silence false lockdep warning when CONFIG_PROVE_RCU_LIST is enabled by default. Signed-off-by: Madhuparna Bhowmik --- net/bridge/br_stp.c | 3 ++- 1 file