diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2007-03-13 13:19:23 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 01:25:21 -0400 |
commit | d9edf9e2be0f7661558984c32bd53867a7037fd3 (patch) | |
tree | 603271a9d0756e229ad9ff13c628a33306c96bdf /net/ipv4/ipmr.c | |
parent | cc70ab261c9f997589546100ddec5da6bfd89c4e (diff) |
[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 'net/ipv4/ipmr.c')
-rw-r--r-- | 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 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) | |||
1430 | if (!pskb_may_pull(skb, sizeof(*pim) + sizeof(*encap))) | 1430 | if (!pskb_may_pull(skb, sizeof(*pim) + sizeof(*encap))) |
1431 | goto drop; | 1431 | goto drop; |
1432 | 1432 | ||
1433 | pim = (struct igmphdr*)skb->h.raw; | 1433 | pim = igmp_hdr(skb); |
1434 | 1434 | ||
1435 | if (!mroute_do_pim || | 1435 | if (!mroute_do_pim || |
1436 | skb->len < sizeof(*pim) + sizeof(*encap) || | 1436 | skb->len < sizeof(*pim) + sizeof(*encap) || |