Gleb Mazovetskiy
86136bf623
tcp: configurable source port perturb table size
...
[ Upstream commit aeac4ec8f46d610a10adbaeff5e2edf6a88ffc62 ]
On embedded systems with little memory and no relevant
security concerns, it is beneficial to reduce the size
of the table.
Reducing the size from 2^16 to 2^8 saves 255 KiB
of kernel RAM.
Makes the table size configurable as an expert option.
The size was previously increased from 2^8 to 2^16
in commit 4c2c8f03a5ab ("tcp: increase source port perturb table to
2^16").
Signed-off-by: Gleb Mazovetskiy <glex.spb@gmail.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-12-08 11:23:00 +01:00
..
6lowpan
9p
9p/fd: fix issue of list_del corruption in p9_fd_cancel()
2022-12-08 11:22:58 +01:00
802
8021q
appletalk
atm
ax25
batman-adv
bluetooth
Bluetooth: L2CAP: Fix l2cap_global_chan_by_psm
2022-11-25 17:42:13 +01:00
bpf
bpf, test_run: Fix alignment problem in bpf_prog_test_run_skb()
2022-11-25 17:42:21 +01:00
bpfilter
bridge
caif
net: caif: fix double disconnect client in chnl_net_open()
2022-11-25 17:42:15 +01:00
can
can: j1939: j1939_send_one(): fix missing CAN header initialization
2022-11-25 17:42:10 +01:00
ceph
core
net: gso: fix panic on frag_list with mixed head alloc types
2022-11-25 17:42:04 +01:00
dcb
dccp
dccp/tcp: Reset saddr on failure after inet6?_hash_connect().
2022-12-08 11:22:59 +01:00
decnet
dns_resolver
dsa
ethernet
hsr
ieee802154
ife
ipv4
tcp: configurable source port perturb table size
2022-12-08 11:23:00 +01:00
ipv6
dccp/tcp: Reset saddr on failure after inet6?_hash_connect().
2022-12-08 11:22:59 +01:00
iucv
kcm
kcm: close race conditions on sk_receive_queue
2022-11-25 17:42:21 +01:00
key
af_key: Fix send_acquire race with pfkey_register
2022-12-08 11:22:57 +01:00
l2tp
l3mdev
lapb
llc
mac80211
wifi: mac80211: Fix ack frame idr leak when mesh has no route
2022-12-08 11:22:57 +01:00
mac802154
mpls
ncsi
netfilter
ipvs: fix WARNING in ip_vs_app_net_cleanup()
2022-11-10 17:57:51 +01:00
netlabel
netlink
netrom
nfc
NFC: nci: fix memory leak in nci_rx_data_packet()
2022-12-08 11:22:59 +01:00
nsh
openvswitch
packet
phonet
psample
qrtr
rds
rfkill
rose
rose: Fix NULL pointer dereference in rose_send_frame()
2022-11-10 17:57:51 +01:00
rxrpc
sched
sctp
smc
strparser
sunrpc
switchdev
tipc
tipc: check skb_linearize() return value in tipc_disc_rcv()
2022-12-08 11:22:58 +01:00
tls
unix
vmw_vsock
wimax
wireless
wifi: cfg80211: fix memory leak in query_regdb_file()
2022-11-25 17:42:04 +01:00
x25
net/x25: Fix skb leak in x25_lapb_receive_frame()
2022-11-25 17:42:16 +01:00
xdp
xfrm
compat.c
Kconfig
Makefile
socket.c
sysctl_net.c