[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4BCB373F.4070400@gmail.com>
Date: Sun, 18 Apr 2010 17:45:51 +0100
From: Matt <tank.en.mate@...il.com>
To: Oleg Kutkov <elenbert@...il.com>
CC: linux-kernel@...r.kernel.org
Subject: Re: Network activity after route changes
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists