summaryrefslogtreecommitdiffstats
path: root/net/ife/ife.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ife/ife.c')
-rw-r--r--net/ife/ife.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ife/ife.c b/net/ife/ife.c
index 13bbf8cb6..be05b690b 100644
--- a/net/ife/ife.c
+++ b/net/ife/ife.c
@@ -82,6 +82,7 @@ void *ife_decode(struct sk_buff *skb, u16 *metalen)
if (unlikely(!pskb_may_pull(skb, total_pull)))
return NULL;
+ ifehdr = (struct ifeheadr *)(skb->data + skb->dev->hard_header_len);
skb_set_mac_header(skb, total_pull);
__skb_pull(skb, total_pull);
*metalen = ifehdrln - IFE_METAHDRLEN;