summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2011-01-19 19:10:49 +0100
committerPatrick McHardy <kaber@trash.net>2011-01-19 19:10:49 +0100
commitf5c88f56b35599ab9ff2d3398e0153e4cd4a4c82 (patch)
treefd2cb178044db9a256638b2e6565795b91cb3c26 /kernel
parenta992ca2a0498edd22a88ac8c41570f536de29c9e (diff)
downloadop-kernel-dev-f5c88f56b35599ab9ff2d3398e0153e4cd4a4c82.zip
op-kernel-dev-f5c88f56b35599ab9ff2d3398e0153e4cd4a4c82.tar.gz
netfilter: nf_conntrack: fix lifetime display for disabled connections
When no tstamp extension exists, ct_delta_time() returns -1, which is then assigned to an u64 and tested for negative values to decide whether to display the lifetime. This obviously doesn't work, use a s64 and merge the two minor functions into one. Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud