[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120727100557.6c60ac58@nehalam.linuxnetplumber.net>
Date: Fri, 27 Jul 2012 10:05:57 -0700
From: Stephen Hemminger <shemminger@...tta.com>
To: Pavel Emelyanov <xemul@...allels.com>
Cc: Stephen Hemminger <shemminger@...ux-foundation.org>,
Linux Netdev List <netdev@...r.kernel.org>
Subject: Re: [PATCH 2/2] iproute: Add route showdump command (v2)
On Fri, 27 Jul 2012 10:06:15 +0400
Pavel Emelyanov <xemul@...allels.com> wrote:
> I mean something like the below, just put the RTM_GETADDR stream into a
> file and push it back into the kernel as is. It worked for me in trivial
> cases, but is this approach correct generically?
It is supposed to always work to reverse netlink messages back to the kernel.
There a couple of caveats:
1. Some fields like statistics are just ignored by the kernel and can never
be reset.
2. The feature isn't commonly used and it is always possible that it will
expose a kernel bug.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists