Skip to content
Snippets Groups Projects
Commit 4dc360c5 authored by Richard Cochran's avatar Richard Cochran Committed by David S. Miller
Browse files

net: validate HWTSTAMP ioctl parameters


This patch adds a sanity check on the values provided by user space for
the hardware time stamping configuration. If the values lie outside of
the absolute limits, then the ioctl request will be denied.

Signed-off-by: default avatarRichard Cochran <richard.cochran@omicron.at>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 850a545b
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment