diff options
author | 2016-01-11 22:49:32 +0100 | |
---|---|---|
committer | 2016-01-13 14:02:59 +0100 | |
commit | 4b8c4eddfc941a38e5bc716a37e8c4292cefaa6d (patch) | |
tree | 91e7f37873f6cb9a44a03b953500ee831d7c9cc5 /net/unix/af_unix.c | |
parent | bgmac: fix a missing check for build_skb (diff) | |
download | wireguard-linux-4b8c4eddfc941a38e5bc716a37e8c4292cefaa6d.tar.xz wireguard-linux-4b8c4eddfc941a38e5bc716a37e8c4292cefaa6d.zip |
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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions