]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/sched/act_pedit.c
[SK_BUFF]: Introduce skb_network_header()
[net-next-2.6.git] / net / sched / act_pedit.c
index 3d6a2fcc9ce4e46aea8796108b054eb7d6e4d070..20813eee8af48c38a7da54ddd9a18c116662c346 100644 (file)
@@ -136,7 +136,7 @@ static int tcf_pedit(struct sk_buff *skb, struct tc_action *a,
                }
        }
 
-       pptr = skb->nh.raw;
+       pptr = skb_network_header(skb);
 
        spin_lock(&p->tcf_lock);