search for: ip_rt_put

Displaying 2 results from an estimated 2 matches for "ip_rt_put".

2002 May 08
0
Security Advisory
...mp.c Fri Apr 12 00:52:31 2002 @@ -370,7 +370,7 @@ icmp_param->data.icmph.code)) {=20 ip_build_xmit(sk, icmp_glue_bits, icmp_param,=20 icmp_param->data_len+icmp_param->head_len, - &ipc, rt, MSG_DONTWAIT); + &ipc, rt, MSG_DONTWAIT, NULL); } ip_rt_put(rt); out: @@ -528,7 +529,7 @@ =20 ip_build_xmit(icmp_socket->sk, icmp_glue_bits, &icmp_param,=20 icmp_param.data_len+sizeof(struct icmphdr), - &ipc, rt, MSG_DONTWAIT); + &ipc, rt, MSG_DONTWAIT, skb_nf_ct(skb_in)); =20 ende: ip_rt_put(rt); diff -urN linux-2.4.19-pre6.orig/n...
2009 Apr 22
0
networking problems in kinit
...err = ip_route_connect(&rt, usin->sin_addr.s_addr, saddr, RT_CONN_FLAGS(sk), oif, sk->sk_protocol, inet->sport, usin->sin_port, sk, 1); if (err) return err; if ((rt->rt_flags & RTCF_BROADCAST) && !sock_flag(sk, SOCK_BROADCAST)) { ip_rt_put(rt); return -EACCES; >>>>>> This throws me out <<<<<<<<< } ... } So for me it seems, that there is something wrong or not correctly set up in the routing table. (But the host is within the same net, so routing is not really required). I tried to se...