driver: macvlan: Remove the rcu member of macvlan_port
authorGao Feng <fgao@ikuai8.com>
Wed, 7 Dec 2016 04:23:18 +0000 (12:23 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Dec 2016 18:22:07 +0000 (13:22 -0500)
commita1f5315ce4e1700e65255c617561aa7d8f09a729
tree304b54f3fc2e758343c65c96f56b1c5642c166f1
parent48140a210b450db229cc9dd927480f65537dc7eb
driver: macvlan: Remove the rcu member of macvlan_port

When free macvlan_port in macvlan_port_destroy, it is safe to free
directly because netdev_rx_handler_unregister could enforce one
grace period.
So it is unnecessary to use kfree_rcu for macvlan_port.

Signed-off-by: Gao Feng <fgao@ikuai8.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macvlan.c