aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorFlorian Westphal <[email protected]>2016-11-16 15:13:35 +0100
committerPablo Neira Ayuso <[email protected]>2016-11-24 14:43:33 +0100
commit728e87b49605f7ee02c0415c8255d3d185a36154 (patch)
tree072ff3bccbe8acf367fddb3f7a40be521d765690 /scripts/gdb/linux/lists.py
parentabd66e9f3cc50c9c3ba4cf609749374090a2f215 (diff)
netfilter: nat: fix cmp return value
The comparator works like memcmp, i.e. 0 means objects are equal. In other words, when objects are distinct they are treated as identical, when they are distinct they are allegedly the same. The first case is rare (distinct objects are unlikely to get hashed to same bucket). The second case results in unneeded port conflict resolutions attempts. Fixes: 870190a9ec907 ("netfilter: nat: convert nat bysrc hash to rhashtable") Signed-off-by: Florian Westphal <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions