projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: skb->dst accessors
[firefly-linux-kernel-4.4.55.git]
/
net
/
ipv4
/
igmp.c
diff --git
a/net/ipv4/igmp.c
b/net/ipv4/igmp.c
index afabd2758b6732d9a5ec89c2a20de813819a304f..01b4284ed694fc86540da28253e159625acc0f5e 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));