summaryrefslogtreecommitdiffstats
path: root/tools/arch
diff options
context:
space:
mode:
authorGao Feng <fgao@ikuai8.com>2016-11-04 10:28:49 +0800
committerDavid S. Miller <davem@davemloft.net>2016-11-09 13:14:47 -0500
commitaa5fd0fb77486b8a6764ead8627baa14790e4280 (patch)
tree6e70de9e52fc25034e88dd6836a418e795b23ec1 /tools/arch
parentfd0285a39b1cb496f60210a9a00ad33a815603e7 (diff)
downloadop-kernel-dev-aa5fd0fb77486b8a6764ead8627baa14790e4280.zip
op-kernel-dev-aa5fd0fb77486b8a6764ead8627baa14790e4280.tar.gz
driver: macvlan: Destroy new macvlan port if macvlan_common_newlink failed.
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 <fgao@ikuai8.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/arch')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud