diff options
Diffstat (limited to 'include/linux/if_pppox.h')
-rw-r--r-- | include/linux/if_pppox.h | 2 |
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 | ||
117 | static inline struct pppoe_hdr *pppoe_hdr(const struct sk_buff *skb) | 117 | static 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 | ||
122 | struct pppoe_opt { | 122 | struct pppoe_opt { |