[PATCH nf-next 0/6] netfilter: sparse fixups

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This series adds be16/be32 annotations to reduce the number of
endianess warnings generated by the sparse checker.

Compile tested only, but objdump shows almost no code
changes except for nft_tunnel.c where a variables type was changed
to __be16.

Florian Westphal (6):
  netfilter: nfnetlink: add missing __be16 cast
  netfilter: x_tables: use correct integer types
  netfilter: nf_tables: use the correct get/put helpers
  netfilter: nf_tables: add and use BE register load-store helpers
  netfilter: nf_tables: use correct integer types
  netfilter: nf_tables: move nft_cmp_fast_mask to where its used

 include/net/netfilter/nf_tables.h      | 15 +++++++++++++++
 include/net/netfilter/nf_tables_core.h | 10 ----------
 net/bridge/netfilter/nft_meta_bridge.c |  2 +-
 net/netfilter/nfnetlink.c              |  2 +-
 net/netfilter/nft_byteorder.c          |  3 ++-
 net/netfilter/nft_cmp.c                | 18 +++++++++++++++---
 net/netfilter/nft_ct.c                 |  4 ++--
 net/netfilter/nft_exthdr.c             | 10 +++++-----
 net/netfilter/nft_osf.c                |  2 +-
 net/netfilter/nft_socket.c             |  8 ++++----
 net/netfilter/nft_tproxy.c             |  6 +++---
 net/netfilter/nft_tunnel.c             |  3 ++-
 net/netfilter/nft_xfrm.c               |  8 ++++----
 net/netfilter/xt_DSCP.c                |  8 ++++----
 net/netfilter/xt_TCPMSS.c              |  4 ++--
 net/netfilter/xt_connlimit.c           |  6 +++---
 16 files changed, 64 insertions(+), 45 deletions(-)

-- 
2.35.1




[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux