Ubuntu-focal-kernel/net/netfilter
Yunjian Wang f8bd8ca5a4 netfilter: nf_conncount: fix wrong variable type
BugLink: https://bugs.launchpad.net/bugs/2081278

[ Upstream commit 0b88d1654d556264bcd24a9cb6383f0888e30131 ]

Now there is a issue is that code checks reports a warning: implicit
narrowing conversion from type 'unsigned int' to small type 'u8' (the
'keylen' variable). Fix it by removing the 'keylen' variable.

Signed-off-by: Yunjian Wang <wangyunjian@huawei.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Koichiro Den <koichiro.den@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
2024-09-27 10:50:31 +02:00
..
ipset netfilter: ipset: Add list flush to cancel_gc 2024-09-27 10:50:18 +02:00
ipvs ipvs: Avoid unnecessary calls to skb_is_gso_sctp 2024-09-27 10:50:11 +02:00
Kconfig
Makefile
core.c Remove DECnet support from kernel 2023-09-01 14:48:44 +02:00
nf_conncount.c netfilter: nf_conncount: fix wrong variable type 2024-09-27 10:50:31 +02:00
nf_conntrack_acct.c
nf_conntrack_amanda.c
nf_conntrack_broadcast.c
nf_conntrack_core.c netfilter: conntrack: fix NULL pointer dereference in nf_confirm_cthelper 2023-09-01 14:48:41 +02:00
nf_conntrack_ecache.c
nf_conntrack_expect.c
nf_conntrack_extend.c
nf_conntrack_ftp.c treewide: Remove uninitialized_var() usage 2023-08-09 12:25:41 +02:00
nf_conntrack_h323_asn1.c netfilter: nf_conntrack_h323: Add protection for bmp length out of range 2024-06-07 15:01:21 +02:00
nf_conntrack_h323_main.c
nf_conntrack_h323_types.c
nf_conntrack_helper.c netfilter: conntrack: Avoid nf_ct_helper_hash uses after free 2023-10-02 12:12:09 +02:00
nf_conntrack_irc.c
nf_conntrack_labels.c
nf_conntrack_netbios_ns.c
nf_conntrack_netlink.c netfilter: ctnetlink: use helper function to calculate expect ID 2024-09-27 10:50:13 +02:00
nf_conntrack_pptp.c
nf_conntrack_proto.c
nf_conntrack_proto_dccp.c netfilter: conntrack: dccp: copy entire header to stack buffer, not just basic one 2023-10-02 12:12:03 +02:00
nf_conntrack_proto_generic.c
nf_conntrack_proto_gre.c
nf_conntrack_proto_icmp.c
nf_conntrack_proto_icmpv6.c
nf_conntrack_proto_sctp.c netfilter: conntrack: check SCTP_CID_SHUTDOWN_ACK for vtag setting in sctp_new 2024-04-26 10:54:06 +02:00
nf_conntrack_proto_tcp.c
nf_conntrack_proto_udp.c
nf_conntrack_sane.c
nf_conntrack_seqadj.c
nf_conntrack_sip.c netfilter: nf_conntrack_sip: fix the ct_sip_parse_numerical_param() return value. 2023-10-02 12:12:03 +02:00
nf_conntrack_snmp.c
nf_conntrack_standalone.c
nf_conntrack_tftp.c
nf_conntrack_timeout.c
nf_conntrack_timestamp.c
nf_dup_netdev.c
nf_flow_table_core.c
nf_flow_table_inet.c
nf_flow_table_ip.c
nf_internals.h
nf_log.c netfilter: nf_log: replace BUG_ON by WARN_ON_ONCE when putting logger 2024-03-28 15:18:39 +01:00
nf_log_common.c
nf_log_netdev.c
nf_nat_amanda.c
nf_nat_core.c
nf_nat_ftp.c
nf_nat_helper.c
nf_nat_irc.c
nf_nat_masquerade.c
nf_nat_proto.c
nf_nat_redirect.c netfilter: nat: fix ipv6 nat redirect with mapped and scoped addresses 2024-02-02 14:13:06 +01:00
nf_nat_sip.c
nf_nat_tftp.c
nf_queue.c
nf_sockopt.c
nf_synproxy_core.c
nf_tables_api.c netfilter: nf_tables: prefer nft_chain_validate 2024-09-27 10:50:21 +02:00
nf_tables_core.c
nf_tables_offload.c netfilter: nf_tables: use net_generic infra for transaction data 2023-10-02 12:12:09 +02:00
nf_tables_set_core.c
nf_tables_trace.c netfilter: add helper function to set up the nfnetlink header and use it 2023-10-02 12:12:09 +02:00
nfnetlink.c netfilter: nfnetlink: skip error delivery on batch in case of ENOMEM 2023-09-01 14:48:45 +02:00
nfnetlink_acct.c netfilter: add helper function to set up the nfnetlink header and use it 2023-10-02 12:12:09 +02:00
nfnetlink_cthelper.c netfilter: add helper function to set up the nfnetlink header and use it 2023-10-02 12:12:09 +02:00
nfnetlink_cttimeout.c netfilter: add helper function to set up the nfnetlink header and use it 2023-10-02 12:12:09 +02:00
nfnetlink_log.c netfilter: nfnetlink_log: silence bogus compiler warning 2024-02-02 14:13:00 +01:00
nfnetlink_osf.c netfilter: nfnetlink_osf: avoid OOB read 2023-10-30 11:42:20 +01:00
nfnetlink_queue.c netfilter: nfnetlink_queue: acquire rcu_read_lock() in instance_destroy_rcu() 2024-07-05 10:52:01 +02:00
nft_bitwise.c
nft_byteorder.c netfilter: nf_tables: fix pointer math issue in nft_byteorder_eval() 2024-02-12 09:01:29 +01:00
nft_chain_filter.c netfilter: nf_tables: double hook unregistration in netns path 2024-02-02 14:13:13 +01:00
nft_chain_nat.c
nft_chain_route.c
nft_cmp.c
nft_compat.c netfilter: nf_tables: allow NFPROTO_INET in nft_(match/target)_validate() 2024-04-26 10:54:10 +02:00
nft_connlimit.c
nft_counter.c netfilter: nft_counter: Synchronize nft_counter_reset() against reader. 2024-09-27 10:50:26 +02:00
nft_ct.c netfilter: nft_ct: fix l3num expectations with inet pseudo family 2024-06-07 15:01:21 +02:00
nft_dup_netdev.c
nft_dynset.c netfilter: nft_dynset: disallow object maps 2023-10-30 11:41:58 +01:00
nft_exthdr.c netfilter: nftables: exthdr: fix 4-byte stack OOB write 2023-10-02 12:12:17 +02:00
nft_fib.c
nft_fib_inet.c
nft_fib_netdev.c
nft_flow_offload.c netfilter: nf_tables: validate NFPROTO_* family 2024-03-28 15:18:32 +01:00
nft_fwd_netdev.c
nft_hash.c
nft_immediate.c
nft_limit.c netfilter: nft_limit: reject configurations that cause integer overflow 2024-09-27 10:50:28 +02:00
nft_log.c
nft_lookup.c netfilter: nf_tables: fully validate NFT_DATA_VALUE on store to data registers 2024-08-02 16:16:21 +02:00
nft_masq.c
nft_meta.c netfilter: nf_tables: fix pointer math issue in nft_byteorder_eval() 2024-02-12 09:01:29 +01:00
nft_nat.c netfilter: nf_tables: validate NFPROTO_* family 2024-03-28 15:18:32 +01:00
nft_numgen.c
nft_objref.c netfilter: nf_tables: report use refcount overflow 2023-10-30 11:41:54 +01:00
nft_osf.c
nft_payload.c netfilter: nft_payload: fix wrong mac header matching 2024-01-05 14:29:56 +01:00
nft_queue.c
nft_quota.c
nft_range.c
nft_redir.c netfilter: nft_redir: use `struct nf_nat_range2` throughout and deduplicate eval call-backs 2024-02-02 14:13:06 +01:00
nft_reject.c
nft_reject_inet.c
nft_rt.c netfilter: nf_tables: validate NFPROTO_* family 2024-03-28 15:18:32 +01:00
nft_set_bitmap.c netfilter: nf_tables: restore set elements when delete set fails 2024-08-28 12:09:03 +02:00
nft_set_hash.c netfilter: nf_tables: use timestamp to check for set element timeout 2024-09-27 10:50:08 +02:00
nft_set_rbtree.c netfilter: nf_tables: use timestamp to check for set element timeout 2024-09-27 10:50:08 +02:00
nft_socket.c netfilter: nf_tables: validate NFPROTO_* family 2024-03-28 15:18:32 +01:00
nft_synproxy.c netfilter: nf_tables: validate NFPROTO_* family 2024-03-28 15:18:32 +01:00
nft_tproxy.c netfilter: nf_tables: validate NFPROTO_* family 2024-03-28 15:18:32 +01:00
nft_tunnel.c netfilter: nf_tables: restrict tunnel object to NFPROTO_NETDEV 2024-07-05 10:51:55 +02:00
nft_xfrm.c netfilter: nf_tables: validate NFPROTO_* family 2024-03-28 15:18:32 +01:00
utils.c
x_tables.c
xt_AUDIT.c
xt_CHECKSUM.c
xt_CLASSIFY.c
xt_CONNSECMARK.c
xt_CT.c
xt_DSCP.c
xt_HL.c
xt_HMARK.c
xt_IDLETIMER.c
xt_LED.c
xt_LOG.c
xt_MASQUERADE.c
xt_NETMAP.c
xt_NFLOG.c
xt_NFQUEUE.c
xt_RATEEST.c
xt_REDIRECT.c netfilter: nft_redir: use `struct nf_nat_range2` throughout and deduplicate eval call-backs 2024-02-02 14:13:06 +01:00
xt_SECMARK.c
xt_TCPMSS.c
xt_TCPOPTSTRIP.c
xt_TEE.c
xt_TPROXY.c
xt_TRACE.c
xt_addrtype.c
xt_bpf.c
xt_cgroup.c
xt_cluster.c
xt_comment.c
xt_connbytes.c
xt_connlabel.c
xt_connlimit.c
xt_connmark.c
xt_conntrack.c
xt_cpu.c
xt_dccp.c
xt_devgroup.c
xt_dscp.c
xt_ecn.c
xt_esp.c
xt_hashlimit.c
xt_helper.c
xt_hl.c
xt_ipcomp.c
xt_iprange.c
xt_ipvs.c
xt_l2tp.c
xt_length.c
xt_limit.c
xt_mac.c
xt_mark.c
xt_multiport.c
xt_nat.c
xt_nfacct.c
xt_osf.c netfilter: nfnetlink_osf: fix module autoload 2023-10-02 12:11:58 +02:00
xt_owner.c netfilter: xt_owner: Fix for unsafe access of sk->sk_socket 2024-02-02 14:13:18 +01:00
xt_physdev.c
xt_pkttype.c
xt_policy.c
xt_quota.c
xt_rateest.c
xt_realm.c
xt_recent.c netfilter: xt_recent: fix (increase) ipv6 literal buffer length 2024-02-02 14:13:06 +01:00
xt_repldata.h
xt_sctp.c netfilter: xt_sctp: validate the flag_info count 2023-10-30 11:42:04 +01:00
xt_set.c
xt_socket.c
xt_state.c
xt_statistic.c
xt_string.c
xt_tcpmss.c
xt_tcpudp.c
xt_time.c
xt_u32.c netfilter: xt_u32: validate user space input 2023-10-30 11:42:04 +01:00