From: Ben Hutchings Date: Thu, 14 Nov 2013 00:40:56 +0000 (+0000) Subject: tg3: Validate hwtstamp_config completely before applying it X-Git-Tag: v3.13-rc1~33^2~44^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58b187c68d91b54b82f6fd267ee3346ed8770655;p=pandora-kernel.git tg3: Validate hwtstamp_config completely before applying it tg3_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 Acked-by: Nithin Nayak Sujir Signed-off-by: David S. Miller --- Reading git-diff-tree failed