Commit:     0272ffc46f81a4bbbf302ba093c737e969c5bb55
Parent:     0e1256ffd1ec654b35e023c66f6b262d4cba91e9
Author:     Arnaldo Carvalho de Melo <[EMAIL PROTECTED]>
AuthorDate: Mon Mar 12 20:05:39 2007 -0300
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Wed Apr 25 22:25:05 2007 -0700

    [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 <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
 net/ipv4/ipmr.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/ipv4/ipmr.c b/net/ipv4/ipmr.c
index 8c4de92..aba3ff0 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)
                skb_push(skb, sizeof(struct iphdr));
                skb->h.raw = skb->data;
-               msg = (struct igmpmsg *)skb->nh.raw;
+               msg = (struct igmpmsg *)skb_network_header(skb);
                memcpy(msg, skb_network_header(pkt), sizeof(struct iphdr));
                msg->im_msgtype = IGMPMSG_WHOLEPKT;
                msg->im_mbz = 0;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to