Commit 6b5a081d authored by Jon Maxwell's avatar Jon Maxwell Committed by openeuler-sync-bot
Browse files

ipv6: Document that max_size sysctl is deprecated

mainline inclusion
from mainline-v6.3-rc1
commit 695a376b
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/I8ZGOZ
CVE: CVE-2023-52340

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=695a376b59f72c249caad40da64d5cce239c5f48



--------------------------------

v4: fix deprecated typo.

Document that max_size is deprecated due to:

commit af6d1034 ("ipv6: remove max_size check inline with ipv4")

Signed-off-by: default avatarJon Maxwell <jmaxwell37@gmail.com>
Link: https://lore.kernel.org/r/20230120232331.1273881-1-jmaxwell37@gmail.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarZiyang Xuan <william.xuanziyang@huawei.com>
(cherry picked from commit a2b1c94f)
parent 786d8a51
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -125,6 +125,9 @@ route/max_size - INTEGER
	From linux kernel 3.6 onwards, this is deprecated for ipv4
	as route cache is no longer used.

	From linux kernel 6.3 onwards, this is deprecated for ipv6
	as garbage collection manages cached route entries.

neigh/default/gc_thresh1 - INTEGER
	Minimum number of entries to keep.  Garbage collector will not
	purge entries if there are fewer than this number.