Re: [PATCH net] net/sched: fix refcnt leak in the error path of tcf_vlan_init()

2018-05-16 Thread David Miller
From: Davide Caratti Date: Wed, 16 May 2018 12:54:29 +0200 > Similarly to what was done with commit a52956dfc503 ("net sched actions: > fix refcnt leak in skbmod"), fix the error path of tcf_vlan_init() to avoid > refcnt leaks when wrong value of TCA_VLAN_PUSH_VLAN_PROTOCOL

Re: [PATCH net] net/sched: fix refcnt leak in the error path of tcf_vlan_init()

2018-05-16 Thread Jamal Hadi Salim
On 16/05/18 06:54 AM, Davide Caratti wrote: Similarly to what was done with commit a52956dfc503 ("net sched actions: fix refcnt leak in skbmod"), fix the error path of tcf_vlan_init() to avoid refcnt leaks when wrong value of TCA_VLAN_PUSH_VLAN_PROTOCOL is given. Fixes: 5026c9b1bafc ("net

[PATCH net] net/sched: fix refcnt leak in the error path of tcf_vlan_init()

2018-05-16 Thread Davide Caratti
Similarly to what was done with commit a52956dfc503 ("net sched actions: fix refcnt leak in skbmod"), fix the error path of tcf_vlan_init() to avoid refcnt leaks when wrong value of TCA_VLAN_PUSH_VLAN_PROTOCOL is given. Fixes: 5026c9b1bafc ("net sched: vlan action fix late binding") CC: Roman