From: Xin Long <lucien....@gmail.com> Date: Fri, 13 Sep 2019 17:45:47 +0800
> In ip6erspan_tunnel_xmit(), if the skb will not be sent out, it has to > be freed on the tx_err path. Otherwise when deleting a netns, it would > cause dst/dev to leak, and dmesg shows: > > unregister_netdevice: waiting for lo to become free. Usage count = 1 > > Fixes: ef7baf5e083c ("ip6_gre: add ip6 erspan collect_md mode") > Signed-off-by: Xin Long <lucien....@gmail.com> Applied and queued up for -stable.