commit | e824265d632629c3d2583d86b8a816e886a5136c | [log] [tgz] |
---|---|---|
author | Gao Feng <fgao@ikuai8.com> | Fri Nov 25 10:05:06 2016 +0800 |
committer | David S. Miller <davem@davemloft.net> | Sun Nov 27 20:04:28 2016 -0500 |
tree | 2129f2d0372f999506e34ebba2cb1050f78db011 | |
parent | a1cad5ee80ddaa833dd0d31c0612306532fbe53a [diff] |
driver: macvtap: Unregister netdev rx_handler if macvtap_newlink fails The macvtap_newlink registers the netdev rx_handler firstly, but it does not unregister the handler if macvlan_common_newlink failed. Signed-off-by: Gao Feng <fgao@ikuai8.com> Acked-by: Jason Wang <jasowang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>