git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: skb->dst accessors
[safe/jmp/linux-2.6]
/
net
/
ipv4
/
igmp.c
diff --git
a/net/ipv4/igmp.c
b/net/ipv4/igmp.c
index
afabd27
..
01b4284
100644
(file)
--- a/
net/ipv4/igmp.c
+++ b/
net/ipv4/igmp.c
@@
-311,7
+311,7
@@
static struct sk_buff *igmpv3_newpack(struct net_device *dev, int size)
return NULL;
}
- skb
->dst = &rt->u.dst
;
+ skb
_dst_set(skb, &rt->u.dst)
;
skb->dev = dev;
skb_reserve(skb, LL_RESERVED_SPACE(dev));
@@
-659,7
+659,7
@@
static int igmp_send_report(struct in_device *in_dev, struct ip_mc_list *pmc,
return -1;
}
- skb
->dst = &rt->u.dst
;
+ skb
_dst_set(skb, &rt->u.dst)
;
skb_reserve(skb, LL_RESERVED_SPACE(dev));