aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorNicolai Buchwitz <nb@tipi-net.de>2026-09-25 15:52:35 +0200
committerJakub Kicinski <kuba@kernel.org>2026-09-28 19:28:44 -0700
commit67da3009384f80c93f5e90e9bc88c1afe77464be (patch)
tree9068732e95e18cf9a62ce19004e6332c33bcf9bd /scripts/Makefile.thinlto
parentMerge tag 'nf-next-26-09-28' of git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf-next (diff)
net: ethtool: reject an out of range hwtstamp provider index
A provider index of 0xFFFFFFFF picks a provider on hardware that has none. phc_index is an int where -1 means no PHC, and the u32 from user space ends up as -1, so the two match. TSINFO_GET uses -1 for "no provider requested" and answers with the default provider instead of an error. Reject the value in the netlink policy, which covers every comparison site. Signed-off-by: Nicolai Buchwitz <nb@tipi-net.de> Reviewed-by: Kory Maincent <kory.maincent@bootlin.com> Link: https://patch.msgid.link/20260925135237.3432266-2-nb@tipi-net.de Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions