projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[IP]: Introduce ip_hdrlen()
[deliverable/linux.git]
/
net
/
ipv4
/
ipmr.c
diff --git
a/net/ipv4/ipmr.c
b/net/ipv4/ipmr.c
index aba3ff0bec9764de4dda0ea4621c096da58ecdbf..54b7543190f1eec06b8d487cc26dc3d4b59bab44 100644
(file)
--- a/
net/ipv4/ipmr.c
+++ b/
net/ipv4/ipmr.c
@@
-539,7
+539,7
@@
static void ipmr_cache_resolve(struct mfc_cache *uc, struct mfc_cache *c)
static int ipmr_cache_report(struct sk_buff *pkt, vifi_t vifi, int assert)
{
struct sk_buff *skb;
-
int ihl = pkt->nh.iph->ihl<<2
;
+
const int ihl = ip_hdrlen(pkt)
;
struct igmphdr *igmp;
struct igmpmsg *msg;
int ret;
This page took
0.030576 seconds
and
5
git commands to generate.