net: validate HWTSTAMP ioctl parameters
authorRichard Cochran <richard.cochran@omicron.at>
Wed, 19 Oct 2011 21:00:35 +0000 (17:00 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Oct 2011 21:00:35 +0000 (17:00 -0400)
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: Richard Cochran <richard.cochran@omicron.at>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found