aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2007-03-12 19:05:39 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-26 01:25:05 -0400
commit0272ffc46f81a4bbbf302ba093c737e969c5bb55 (patch)
tree0e646394caf56e5b72af194523b2752871c46411 /net
parent0e1256ffd1ec654b35e023c66f6b262d4cba91e9 (diff)
[SK_BUFF] ipmr: Missed one conversion to skb_network_header()
We can't access skb->nh.raw directly anymore, it will become an offset. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/ipv4/ipmr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ipmr.c b/net/ipv4/ipmr.c
index 8c4de92c1a99..aba3ff0bec97 100644
--- a/net/ipv4/ipmr.c
+++ b/net/ipv4/ipmr.c
@@ -564,7 +564,7 @@ static int ipmr_cache_report(struct sk_buff *pkt, vifi_t vifi, int assert)
564 skb_push(skb, sizeof(struct iphdr)); 564 skb_push(skb, sizeof(struct iphdr));
565 skb_reset_network_header(skb); 565 skb_reset_network_header(skb);
566 skb->h.raw = skb->data; 566 skb->h.raw = skb->data;
567 msg = (struct igmpmsg *)skb->nh.raw; 567 msg = (struct igmpmsg *)skb_network_header(skb);
568 memcpy(msg, skb_network_header(pkt), sizeof(struct iphdr)); 568 memcpy(msg, skb_network_header(pkt), sizeof(struct iphdr));
569 msg->im_msgtype = IGMPMSG_WHOLEPKT; 569 msg->im_msgtype = IGMPMSG_WHOLEPKT;
570 msg->im_mbz = 0; 570 msg->im_mbz = 0;