Re: [PATCH iproute2] ip monitor: Fixed printing timestamp few times
From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2014-12-03 17:13:49
From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2014-12-03 17:13:49
On Mon, 1 Dec 2014 01:14:22 +0200 Vadim Kochan [off-list ref] wrote:
Another fix when timestamp is printed few times before the event message. Fixed by skipping the message types which are not supported. Signed-off-by: Vadim Kochan <redacted>
I don't see how you could get into accept_msg and cause this. The filtering should already be done by kernel for most things. The code already filters TC messages in kernel. Other types should be done as well. Ps: this code is crying to be a switch statement.