From 24e6de2adde665fa86f3f44a45abb15b4a86b3d6 Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Mon, 2 Jul 2018 17:29:09 +0100 Subject: [PATCH] netfilter: ipvs: Fix invalid bytes in IP_VS_MH_TAB_INDEX help text --- debian/changelog | 1 + ...ix-invalid-bytes-in-IP_VS_MH_TAB_IND.patch | 34 +++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 36 insertions(+) create mode 100644 debian/patches/bugfix/all/netfilter-ipvs-Fix-invalid-bytes-in-IP_VS_MH_TAB_IND.patch diff --git a/debian/changelog b/debian/changelog index 3eb9b943a..783490a6b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,7 @@ linux (4.18~rc2-1~exp1) UNRELEASED; urgency=medium [ Ben Hutchings ] * aufs: Update to aufs4.x-rcN 20180702 + * netfilter: ipvs: Fix invalid bytes in IP_VS_MH_TAB_INDEX help text [ YunQiang Su ] * [mips*r6*] Enable dtb building for boston. diff --git a/debian/patches/bugfix/all/netfilter-ipvs-Fix-invalid-bytes-in-IP_VS_MH_TAB_IND.patch b/debian/patches/bugfix/all/netfilter-ipvs-Fix-invalid-bytes-in-IP_VS_MH_TAB_IND.patch new file mode 100644 index 000000000..c732c6a19 --- /dev/null +++ b/debian/patches/bugfix/all/netfilter-ipvs-Fix-invalid-bytes-in-IP_VS_MH_TAB_IND.patch @@ -0,0 +1,34 @@ +From: Ben Hutchings +Date: Mon, 2 Jul 2018 17:24:27 +0100 +Subject: netfilter: ipvs: Fix invalid bytes in IP_VS_MH_TAB_INDEX help text + +The help text contains several \xa0 bytes, which are not valid UTF-8 +characters but could have been non-breaking spaces in Latin 1 +encoding. I see no reason to use non-breaking spaces here, so replace +them with regular spaces. + +Fixes: 30edf801d7ed ("netfilter: ipvs: Add configurations of Maglev hashing") +Signed-off-by: Ben Hutchings +--- + net/netfilter/ipvs/Kconfig | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/net/netfilter/ipvs/Kconfig b/net/netfilter/ipvs/Kconfig +index 05dc1b77e466..17b53eee05a5 100644 +--- a/net/netfilter/ipvs/Kconfig ++++ b/net/netfilter/ipvs/Kconfig +@@ -296,10 +296,10 @@ config IP_VS_MH_TAB_INDEX + stored in a hash table. This table is assigned by a preference + list of the positions to each destination until all slots in + the table are filled. The index determines the prime for size of +- the table as 251, 509, 1021, 2039, 4093, 8191, 16381, 32749, +- 65521 or 131071. When using weights to allow destinations to +- receive more connections, the table is assigned an amount +- proportional to the weights specified. The table needs to be large ++ the table as 251, 509, 1021, 2039, 4093, 8191, 16381, 32749, ++ 65521 or 131071. When using weights to allow destinations to ++ receive more connections, the table is assigned an amount ++ proportional to the weights specified. The table needs to be large + enough to effectively fit all the destinations multiplied by their + respective weights. + diff --git a/debian/patches/series b/debian/patches/series index a8800a5c2..317fd97bc 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -85,6 +85,7 @@ bugfix/all/partially-revert-usb-kconfig-using-select-for-usb_co.patch bugfix/all/kbuild-include-addtree-remove-quotes-before-matching-path.patch debian/revert-objtool-fix-config_stack_validation-y-warning.patch bugfix/all/i40e-build-for-64-bit-targets-only.patch +bugfix/all/netfilter-ipvs-Fix-invalid-bytes-in-IP_VS_MH_TAB_IND.patch # Miscellaneous features