From: Ben Hutchings Date: Thu, 14 Nov 2013 00:48:56 +0000 (+0000) Subject: ixp4xx_eth: Validate hwtstamp_config completely before applying it X-Git-Tag: v3.13-rc1~33^2~44^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5be8cd3875ca051db857c9d76b253a7e7ea3f22;p=pandora-kernel.git ixp4xx_eth: Validate hwtstamp_config completely before applying it hwtstamp_ioctl() should validate all fields of hwtstamp_config before making any changes. Currently it sets the TX configuration before validating the rx_filter field. Untested as I don't have a cross-compiler to hand. Signed-off-by: Ben Hutchings Signed-off-by: David S. Miller --- Reading git-diff-tree failed