aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/if_pppox.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/if_pppox.h')
-rw-r--r--include/linux/if_pppox.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/if_pppox.h b/include/linux/if_pppox.h
index 7044f8ab30a0..29d6579ff1a0 100644
--- a/include/linux/if_pppox.h
+++ b/include/linux/if_pppox.h
@@ -116,7 +116,7 @@ struct pppoe_hdr {
116 116
117static inline struct pppoe_hdr *pppoe_hdr(const struct sk_buff *skb) 117static inline struct pppoe_hdr *pppoe_hdr(const struct sk_buff *skb)
118{ 118{
119 return (struct pppoe_hdr *)skb->nh.raw; 119 return (struct pppoe_hdr *)skb_network_header(skb);
120} 120}
121 121
122struct pppoe_opt { 122struct pppoe_opt {