Re: [PATCH net] bridge: Fix VLAN reference count problem

2018-02-26 Thread David Miller
From: Ido Schimmel Date: Sun, 25 Feb 2018 21:59:06 +0200 > When a VLAN is added on a port, a reference is taken on the > corresponding master VLAN entry. If it does not already exist, then it > is created and a reference taken. > > However, in the second case a reference is

Re: [PATCH net] bridge: Fix VLAN reference count problem

2018-02-25 Thread Nikolay Aleksandrov
On 25/02/18 21:59, Ido Schimmel wrote: > When a VLAN is added on a port, a reference is taken on the > corresponding master VLAN entry. If it does not already exist, then it > is created and a reference taken. > > However, in the second case a reference is not really taken when >

[PATCH net] bridge: Fix VLAN reference count problem

2018-02-25 Thread Ido Schimmel
When a VLAN is added on a port, a reference is taken on the corresponding master VLAN entry. If it does not already exist, then it is created and a reference taken. However, in the second case a reference is not really taken when CONFIG_REFCOUNT_FULL is enabled as refcount_inc() is replaced by