diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2007-03-13 17:19:23 (GMT) |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 05:25:21 (GMT) |
commit | d9edf9e2be0f7661558984c32bd53867a7037fd3 (patch) | |
tree | 603271a9d0756e229ad9ff13c628a33306c96bdf /net/ipv4/ipmr.c | |
parent | cc70ab261c9f997589546100ddec5da6bfd89c4e (diff) | |
download | linux-fsl-qoriq-d9edf9e2be0f7661558984c32bd53867a7037fd3.tar.xz |
[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 03869d9..05bc270 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) || |