X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;ds=sidebyside;f=net%2Fxfrm%2Fxfrm_policy.c;h=e52cab3591dd78c373274bb64420f87383775e8c;hb=ac872bc9ed4452dccfbcebe7d273350103464998;hp=ea970b8002a20a614a5bc9fe89afa3c39b131180;hpb=45175476ae2dbebc860d5cf486f2916044343513;p=~andy%2Flinux diff --git a/net/xfrm/xfrm_policy.c b/net/xfrm/xfrm_policy.c index ea970b8002a..e52cab3591d 100644 --- a/net/xfrm/xfrm_policy.c +++ b/net/xfrm/xfrm_policy.c @@ -2785,7 +2785,7 @@ static void __net_init xfrm_dst_ops_init(struct net *net) static int xfrm_dev_event(struct notifier_block *this, unsigned long event, void *ptr) { - struct net_device *dev = ptr; + struct net_device *dev = netdev_notifier_info_to_dev(ptr); switch (event) { case NETDEV_DOWN: