Thread (5 messages) flat view 5 messages, 3 authors, 2016-11-09

Re: [PATCH net 1/1] driver: macvlan: Destroy new macvlan port if macvlan_common_newlink failed.

From: David Miller <davem@davemloft.net>
Date: 2016-11-09 18:18:36

From: fgao@ikuai8.com
Date: Fri,  4 Nov 2016 10:28:49 +0800
From: Gao Feng <redacted>

When there is no existing macvlan port in lowdev, one new macvlan port
would be created. But it doesn't be destoried when something failed later.
It casues some memleak.

Now add one flag to indicate if new macvlan port is created.

Signed-off-by: Gao Feng <redacted>
Looks good, applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help