From: Ben Hutchings Date: Thu, 14 Nov 2013 00:43:41 +0000 (+0000) Subject: stmmac: Validate hwtstamp_config completely before applying it X-Git-Tag: v3.13-rc1~33^2~44^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f3da3281932a795b80cddd1887291515a7e324d;p=pandora-kernel.git stmmac: Validate hwtstamp_config completely before applying it stmmac_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. Compile-tested only. Signed-off-by: Ben Hutchings Signed-off-by: David S. Miller --- Reading git-diff-tree failed