]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/openvswitch/dp_notify.c
openvswitch: Add SCTP support
[karo-tx-linux.git] / net / openvswitch / dp_notify.c
index ef4feec6cd845e67903706f448ccc5d1a8f96556..c3235675f35997169ad4961722344537005a8f6e 100644 (file)
@@ -78,7 +78,7 @@ static int dp_device_event(struct notifier_block *unused, unsigned long event,
                           void *ptr)
 {
        struct ovs_net *ovs_net;
-       struct net_device *dev = ptr;
+       struct net_device *dev = netdev_notifier_info_to_dev(ptr);
        struct vport *vport = NULL;
 
        if (!ovs_is_internal_dev(dev))