net/tap: move link down before close
authorKeith Wiles <keith.wiles@intel.com>
Mon, 6 Feb 2017 19:40:37 +0000 (13:40 -0600)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 10 Feb 2017 11:25:49 +0000 (12:25 +0100)
commit89a5bef09a49f14d2ebec81f3d04815234245006
treeddaad630338415c586fde522c41a1c9ea5a2617a
parent6157fd377c4ef2e1cc226df7e680a4dcbca92dd3
net/tap: move link down before close

Fixes: f457b472b1f2 ("net/tap: add link up and down operations")

Signed-off-by: Keith Wiles <keith.wiles@intel.com>
Acked-by: Pascal Mazon <pascal.mazon@6wind.com>
drivers/net/tap/rte_eth_tap.c