netfilter: nf_nat_snmp_basic: fix a range check in NAT for SNMP
David Howells authored
commit 252815b0

 upstream

Fix a range check in netfilter IP NAT for SNMP to always use a big enough size
variable that the compiler won't moan about comparing it to ULONG_MAX/8 on a
64-bit platform.
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Cc: Eugene Teo <eteo@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
c119d398
Name Last commit Last update
..
802 [TR] net/802/tr.c: sysctl_tr_rif_timeout static
8021q vlan: Correctly handle device notifications for layered VLAN devices
9p net/9p/trans_fd.c:p9_trans_fd_init(): module_init functions should return 0 on success
appletalk [APPLETALK]: Use proc_create() to setup ->proc_fops first
atm [NET]: Undo code bloat in hot paths due to print_mac().
ax25 ax25: Fix NULL pointer dereference and lockup.
bluetooth Bluetooth: Signal user-space for HIDP and BNEP socket errors
bridge [BRIDGE]: Fix crash in __ip_route_output_key with bridge netfilter
can can: add sanity checks
core net: Fix call to ->change_rx_flags(dev, IFF_MULTICAST) in dev_change_flags()
dccp dccp: change L/R must have at least one byte in the dccpsf_val field
decnet [DECNET] ROUTE: remove unecessary alignment
econet [NET]: Convert init_timer into setup_timer
ethernet [NET]: Return more appropriate error from eth_validate_addr().
ieee80211 [NET]: Undo code bloat in hot paths due to print_mac().
ipv4 netfilter: nf_nat_snmp_basic: fix a range check in NAT for SNMP
ipv6 ipv6: Fix ip6_xmit to send fragments if ipfragok is true
ipx [IPX]: Use proc_create() to setup ->proc_fops first
irda [IRDA]: Store irnet_socket termios properly.
iucv iucv: fix build error on !SMP
key af_key: Fix selector family initialization.
lapb [LAPB] net/lapb/lapb_iface.c: use LIST_HEAD instead of LIST_HEAD_INIT
llc [LLC]: skb allocation size for responses
mac80211 mac80211: detect driver tx bugs
netfilter netfilter -stable: nf_conntrack_tcp: fix endless loop
netlabel
netlink
netrom
packet
rfkill
rose
rxrpc
sched
sctp
sunrpc
tipc
unix
wanrouter
wireless
x25
xfrm
Kconfig
Makefile
TUNABLE
compat.c
nonet.c
socket.c
sysctl_net.c