datapath: rhel: Move RHEL OVS hook registration to netdev_rx_handler_register() backport
authorThomas Graf <tgraf@redhat.com>
Tue, 9 Jul 2013 18:36:57 +0000 (20:36 +0200)
committerJesse Gross <jesse@nicira.com>
Tue, 9 Jul 2013 19:07:29 +0000 (12:07 -0700)
Moves the registration of the RHEL specific OVS hook to the compat
backport of netdev_rx_handler_register(). This moves the hook
unregistration from the RCU callback to the netdev_destroy()
callback directly.

This is purely cosmetic though, the RHEL hook is only used if the
IFF_OVS_DATAPATH flag is present which was removed under RTNL
protection before the RCU callback.

Signed-off-by: Thomas Graf <tgraf@redhat.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>

No differences found