On 10/26/2014 10:21 PM, Baoquan He wrote:
On 10/22/14 at 11:14am, Marc Milgram wrote:
> On 08/18/2014 04:34 AM, 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(-)
>>
>
> Sorry for the very late response...
>
> It looks like the first change was applied by another change.
> Otherwise this looks good.
Hi Marc,
The patch can be applied without any conflict. I didn't got the first
change you mentioned, do you mean the change in this patch?
Thanks
Baoquan
I had the wrong version checked out.
I checked out the master version, and the patch applies without conflict.
ACK