ipv4: Merge ip_local_out and ip_local_out_sk
[deliverable/linux.git] / net / ipv4 / netfilter / nf_reject_ipv4.c
index fb337406b1d239aa24280400ff59602c7059b8dc..dcc125cb0441eb50940dbd2ddffea29f2b93ab2b 100644 (file)
@@ -129,7 +129,7 @@ void nf_send_reset(struct net *net, struct sk_buff *oldskb, int hook)
                                   ip4_dst_hoplimit(skb_dst(nskb)));
        nf_reject_ip_tcphdr_put(nskb, oldskb, oth);
 
-       if (ip_route_me_harder(nskb, RTN_UNSPEC))
+       if (ip_route_me_harder(net, nskb, RTN_UNSPEC))
                goto free_nskb;
 
        /* "Never happens" */
@@ -157,7 +157,7 @@ void nf_send_reset(struct net *net, struct sk_buff *oldskb, int hook)
                dev_queue_xmit(nskb);
        } else
 #endif
-               ip_local_out(nskb);
+               ip_local_out(nskb->sk, nskb);
 
        return;
 
This page took 0.025184 seconds and 5 git commands to generate.