aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/ipmr.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2007-03-13 14:19:23 -0300
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-25 22:25:21 -0700
commitd9edf9e2be0f7661558984c32bd53867a7037fd3 (patch)
tree603271a9d0756e229ad9ff13c628a33306c96bdf /net/ipv4/ipmr.c
parent[ICMP6]: Introduce icmp6_hdr() (diff)
downloadlinux-dev-d9edf9e2be0f7661558984c32bd53867a7037fd3.tar.xz
linux-dev-d9edf9e2be0f7661558984c32bd53867a7037fd3.zip
[SK_BUFF]: Introduce igmp_hdr() & friends, remove skb->h.igmph
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-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 03869d91f6f0..05bc27002def 100644
--- a/net/ipv4/ipmr.c
+++ b/net/ipv4/ipmr.c
@@ -1430,7 +1430,7 @@ int pim_rcv_v1(struct sk_buff * skb)
if (!pskb_may_pull(skb, sizeof(*pim) + sizeof(*encap)))
goto drop;
- pim = (struct igmphdr*)skb->h.raw;
+ pim = igmp_hdr(skb);
if (!mroute_do_pim ||
skb->len < sizeof(*pim) + sizeof(*encap) ||