diff options
author | Hoang Le <hoang.h.le@dektech.com.au> | 2019-11-08 10:02:37 +0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-07 20:08:53 -0800 |
commit | d408bef4bfa60bac665b6e7239269570039a968b (patch) | |
tree | f666502e527b146c7e5dac670b3d56236480b46d /fs/nilfs2/gcinode.c | |
parent | f8cc62ca3e660ae3fdaee533b1d554297cd2ae82 (diff) | |
download | linux-d408bef4bfa60bac665b6e7239269570039a968b.tar.gz |
tipc: eliminate checking netns if node established
Currently, we scan over all network namespaces at each received
discovery message in order to check if the sending peer might be
present in a host local namespaces.
This is unnecessary since we can assume that a peer will not change its
location during an established session.
We now improve the condition for this testing so that we don't perform
any redundant scans.
Fixes: f73b12812a3d ("tipc: improve throughput between nodes in netns")
Acked-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: Hoang Le <hoang.h.le@dektech.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/nilfs2/gcinode.c')
0 files changed, 0 insertions, 0 deletions