Re: [PATCH] ip: find correct route for socket which is not bound (v2)

2015-11-01 Thread David Miller
From: Wengang Wang Date: Fri, 25 Sep 2015 09:52:40 +0800 > diff --git a/net/ipv4/route.c b/net/ipv4/route.c > index 5f4a556..c0534c2 100644 > --- a/net/ipv4/route.c > +++ b/net/ipv4/route.c > @@ -2097,7 +2097,10 @@ struct rtable *__ip_route_output_key(struct net *net, > struct flowi4 *fl4) >

Re: [PATCH] ip: find correct route for socket which is not bound (v2)

2015-10-08 Thread David Miller
From: Wengang Wang Date: Thu, 8 Oct 2015 11:31:05 +0800 > Any comment on this patch? I'm still thinking about it, so if nobody else chimes in with a review that convinces me one way or another you will just have to patiently wait for me. -- To unsubscribe from this list: send the line "unsubscri

Re: [PATCH] ip: find correct route for socket which is not bound (v2)

2015-10-07 Thread Wengang Wang
Hi, Any comment on this patch? thanks, wengang 在 2015年09月25日 09:52, Wengang Wang 写道: This is the v2, comparing the v1, the changes is: * for loopback outbound device, it continue skipping cached route; for others, it goes through the cached route. For multicast, we should find valid rou

[PATCH] ip: find correct route for socket which is not bound (v2)

2015-09-24 Thread Wengang Wang
This is the v2, comparing the v1, the changes is: * for loopback outbound device, it continue skipping cached route; for others, it goes through the cached route. For multicast, we should find valid route(thus get the meaniful pmtu) for the packet on the socket which is not bound to a device(s

Re: [PATCH] ip: find correct route for socket which is not bound (v2)

2015-09-24 Thread Wengang Wang
Hi David, 在 2015年09月25日 05:22, David Miller 写道: From: Wengang Wang Date: Mon, 21 Sep 2015 16:00:09 +0800 This is the v2, comparing the v1, the changes is: * for loopback outbound device, it continue skipping cached route; for others, it goes through the cached route. There are many thi

Re: [PATCH] ip: find correct route for socket which is not bound (v2)

2015-09-24 Thread David Miller
From: Wengang Wang Date: Mon, 21 Sep 2015 16:00:09 +0800 > This is the v2, comparing the v1, the changes is: > * for loopback outbound device, it continue skipping cached route; >for others, it goes through the cached route. There are many things I want you to clean up in your commit messag

[PATCH] ip: find correct route for socket which is not bound (v2)

2015-09-21 Thread Wengang Wang
This is the v2, comparing the v1, the changes is: * for loopback outbound device, it continue skipping cached route; for others, it goes through the cached route. For multi-cast, we should find valid route(thus get the meaniful pmtu) for the package on the socket which is not bound to a device