diff options
author | Florian Westphal <fw@strlen.de> | 2016-01-12 00:49:32 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-01-13 16:02:59 +0300 |
commit | 4b8c4eddfc941a38e5bc716a37e8c4292cefaa6d (patch) | |
tree | 91e7f37873f6cb9a44a03b953500ee831d7c9cc5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f1640c3ddeec12804bc9a21feee85fc15aca95f6 (diff) | |
download | linux-4b8c4eddfc941a38e5bc716a37e8c4292cefaa6d.tar.xz |
netfilter: nft_byteorder: avoid unneeded le/be conversion steps
David points out that we to three le/be conversions instead
of just one. Doesn't matter on x86_64 w. gcc, but other
architectures might be less lucky.
Since it also simplifies code just follow his advice.
Fixes: c0f3275f5cb ("nftables: byteorder: provide le/be 64 bit conversion helper")
Suggested-by: David Laight <David.Laight@aculab.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions