bridge: switchdev: Use an helper to clear forward mark
authorIdo Schimmel <idosch@mellanox.com>
Sun, 3 Sep 2017 14:44:13 +0000 (17:44 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Sep 2017 18:51:47 +0000 (11:51 -0700)
commitf1c2eddf4cb6a6c8ca5f6e728e7328b9c5bc3e8a
tree947890deec185d704d29459ed6511eb302bac33d
parent691223ec9798a617cb372470f4bf37e312d15063
bridge: switchdev: Use an helper to clear forward mark

Instead of using ifdef in the C file.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Suggested-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Tested-by: Yotam Gigi <yotamg@mellanox.com>
Acked-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_device.c
net/bridge/br_private.h