[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140106.161027.1498450744291161306.davem@davemloft.net>
Date: Mon, 06 Jan 2014 16:10:27 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: christoph.paasch@...ouvain.be
Cc: netdev@...r.kernel.org, eric.dumazet@...il.com, ja@....bg
Subject: Re: [PATCH 3/4] tcp: metrics: Delete all entries matching a
certain destination
From: Christoph Paasch <christoph.paasch@...ouvain.be>
Date: Thu, 2 Jan 2014 10:18:23 +0100
> Do you mean that if no source-IP is given in the netlink command that all
> entries matching the dst should be deleted or rather only one of them (and that it
> would be non-deterministic which one)?
You would delete all of them, it's the only way to stay compatible with
the current code.
> Because, if I delete all of them, then "ip tcp_metrics flush PREFIX" of
> today's iproute2 will complain, because iproute2 expects that for each entry of
> "ip tcp_metrics show" a delete-call must be done.
>
> But, the non-deterministic case also feels a bit odd to me.
iproute2 should not expect that if it doesn't specify a specific
source address, in fact it doesn't even know how to currently. I
can't think of any other reasonable behavior.
--
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