]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: metrics: Allow selective get/del of tcp-metrics based on src IP
authorChristoph Paasch <christoph.paasch@uclouvain.be>
Wed, 8 Jan 2014 15:05:59 +0000 (16:05 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Jan 2014 22:38:18 +0000 (17:38 -0500)
commitc5b6e47324f285f89626b85b8e26195f03174f26
tree073ff3aa496669057f42e54112f0ecceaf760202
parent403ff2786f094114ee87356f3fa0a1479cd76e2d
tcp: metrics: Allow selective get/del of tcp-metrics based on src IP

We want to be able to get/del tcp-metrics based on the src IP. This
patch adds the necessary parsing of the netlink attribute and if the
source address is set, it will match on this one too.

Signed-off-by: Christoph Paasch <christoph.paasch@uclouvain.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_metrics.c