Re: Network activity after route changes

From: Oleg Kutkov
Date: Mon Apr 19 2010 - 04:14:24 EST


Thank, but this does not help me. Maybe it really my bug.

2010/4/18 Matt <tank.en.mate@xxxxxxxxx>:
> On 18/04/10 12:15, Oleg Kutkov wrote:
>>
>> Hello.
>> I try to send and receive ethernet packets on very low level in my kernel
>> module.
>> When i change (add or delete entry) routin table (via route command) my
>> network is freeze for ~15 seconds and my application can't send and receive
>> any packets.
>> Is it normal or bug somewhere in my application?
>> Can i change this behavior of route system? Maybe change some timeouts, or
>> immediately flush route (rt_flush() ?) table?
>
> Depending on your routing configuration the change may be causing the
> problem. Have you tried flushing the route cache (as opposed to the main
> routing table)?
>
> # ip route flush table cache
>
> matt
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/