X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=net%2Fopenvswitch%2Fdp_notify.c;h=c3235675f35997169ad4961722344537005a8f6e;hb=a175a723301a8a4a9fedf9ce5b8ca586e7a97b40;hp=ef4feec6cd845e67903706f448ccc5d1a8f96556;hpb=942d33da999b86821c9aee9615fcb81207ee04c7;p=karo-tx-linux.git diff --git a/net/openvswitch/dp_notify.c b/net/openvswitch/dp_notify.c index ef4feec6cd84..c3235675f359 100644 --- a/net/openvswitch/dp_notify.c +++ b/net/openvswitch/dp_notify.c @@ -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))