X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fnet%2Fwan%2Fsyncppp.c;h=29b4b94e49473228da69c848d1c1c4e50287a1cc;hb=a352def21a642133758b868c71bee12ab34ad5c5;hp=61e24b7a45a306da29fe20916a3e8ca40e45c1d6;hpb=ac0b50dd10ac0d30f2732eec0587f3632c2be725;p=linux-2.6 diff --git a/drivers/net/wan/syncppp.c b/drivers/net/wan/syncppp.c index 61e24b7a45..29b4b94e49 100644 --- a/drivers/net/wan/syncppp.c +++ b/drivers/net/wan/syncppp.c @@ -1444,7 +1444,7 @@ static void sppp_print_bytes (u_char *p, u16 len) static int sppp_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *p, struct net_device *orig_dev) { - if (dev->nd_net != &init_net) { + if (dev_net(dev) != &init_net) { kfree_skb(skb); return 0; }