[SK_BUFF]: Introduce skb_network_header()
[deliverable/linux.git] / include / linux / if_pppox.h
index 7044f8ab30a085858f778154e41a81af56ebd1bd..29d6579ff1a018f4ab0d18505f4f56b5f2e6ab0a 100644 (file)
@@ -116,7 +116,7 @@ struct pppoe_hdr {
 
 static inline struct pppoe_hdr *pppoe_hdr(const struct sk_buff *skb)
 {
-       return (struct pppoe_hdr *)skb->nh.raw;
+       return (struct pppoe_hdr *)skb_network_header(skb);
 }
 
 struct pppoe_opt {
This page took 0.037354 seconds and 5 git commands to generate.