On 08/18/14 at 01:24pm, Vivek Goyal wrote:
Hi Bao,
Where is the patch. I only see changelog?
I used the "git format-patch -1 --cover-letter" to get patch and its
cover letter. Seems that it didn't add the patch0/1 and patch1/1
automatically. This is the cover letter produced by git.
Please see the other one in the same thread, it is the patch1/1.
Thanks
Vivek
On Mon, Aug 18, 2014 at 04:34:52PM +0800, Baoquan He wrote:
> Previously for fixing the static route problem, all routes get through
> a specific network interface will be saved and added in 2nd kernel.
> Search pattern is used to get routes:
> /sbin/ip route show | grep -v default | grep "^[[:digit:]].*via.*
$_netdev"
>
> An exception existed though, that is 2 machines connected directly and the
> network interfaces wihch are configured as in different network subnets.
>
> So in the v1 and v2, "ip route get to $target" command is executed and an
> exact route to a target is saved and added in 2nd kernel. This works for
> static route issue and can fix the corner case above.
>
> v1:
> Introduced the new way which get exact route to remote target.
>
> v1->v2:
> Since a grammer error which saved exact route, v2 is posted.
>
> v2->v3:
> Per Vivek's comment, route to target should not be related to
> static ip issues. So in v3 introduced the get_routes function
> and take it out of kdump_static_ip.
>
> Baoquan He (1):
> save exact route to remote target
>
> dracut-module-setup.sh | 31 +++++++++++++++++++++++--------
> 1 file changed, 23 insertions(+), 8 deletions(-)
>
> --
> 1.9.0