[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230829054623.104293-1-alexhenrie24@gmail.com>
Date: Mon, 28 Aug 2023 23:44:42 -0600
From: Alex Henrie <alexhenrie24@...il.com>
To: netdev@...r.kernel.org,
jbohac@...e.cz,
benoit.boissinot@...-lyon.org,
davem@...emloft.net,
hideaki.yoshifuji@...aclelinux.com,
dsahern@...nel.org,
pabeni@...hat.com
Cc: Alex Henrie <alexhenrie24@...il.com>
Subject: [PATCH v2 0/5] net: ipv6/addrconf: ensure that temporary addresses' preferred lifetimes are in the valid range
Changes from v1:
- Split into multiple patches
- Add "Fixes" lines to the commit messages
- Use long instead of __s64
- Ensure that the valid lifetime is not shorter than the required lifetime
- Ensure that the preferred lifetime is not longer than the valid lifetime
- Update the documentation
Thanks to David, Jiri, and Paolo for your feedback.
Alex Henrie (5):
net: ipv6/addrconf: avoid integer underflow in ipv6_create_tempaddr
net: ipv6/addrconf: clamp preferred_lft to the maximum allowed
net: ipv6/addrconf: clamp preferred_lft to the minimum required
Documentation: networking: explain what happens if temp_valid_lft is
too small
Documentation: networking: explain what happens if temp_prefered_lft
is too small or too large
Documentation/networking/ip-sysctl.rst | 10 ++++++++--
net/ipv6/addrconf.c | 21 +++++++++++++++------
2 files changed, 23 insertions(+), 8 deletions(-)
--
2.42.0
Powered by blists - more mailing lists