]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/ipv4/ipvs/ip_vs_sh.c
[IPVS]: Relax the module get/put in ip_vs_app.c
[linux-2.6-omap-h63xx.git] / net / ipv4 / ipvs / ip_vs_sh.c
index 338668f88fe286a9b9c3cfaa05e32c7c334b01ea..1b25b00ef1e152c17578799c31e1212d2b990cb5 100644 (file)
@@ -201,7 +201,7 @@ ip_vs_sh_schedule(struct ip_vs_service *svc, const struct sk_buff *skb)
 {
        struct ip_vs_dest *dest;
        struct ip_vs_sh_bucket *tbl;
-       struct iphdr *iph = skb->nh.iph;
+       struct iphdr *iph = ip_hdr(skb);
 
        IP_VS_DBG(6, "ip_vs_sh_schedule(): Scheduling...\n");