upgrade to linux 2.6.10-1.12_FC2
[linux-2.6.git] / net / ipv4 / ip_output.c
index 41f615b..d223d12 100644 (file)
@@ -224,9 +224,8 @@ int ip_finish_output(struct sk_buff *skb)
                       ip_finish_output2);
 }
 
-int ip_mc_output(struct sk_buff **pskb)
+int ip_mc_output(struct sk_buff *skb)
 {
-       struct sk_buff *skb = *pskb;
        struct sock *sk = skb->sk;
        struct rtable *rt = (struct rtable*)skb->dst;
        struct net_device *dev = rt->u.dst.dev;
@@ -285,10 +284,8 @@ int ip_mc_output(struct sk_buff **pskb)
                return ip_finish_output(skb);
 }
 
-int ip_output(struct sk_buff **pskb)
+int ip_output(struct sk_buff *skb)
 {
-       struct sk_buff *skb = *pskb;
-
        IP_INC_STATS(IPSTATS_MIB_OUTREQUESTS);
 
        if (skb->len > dst_pmtu(skb->dst) && !skb_shinfo(skb)->tso_size)