From: Ben Hutchings Date: Mon, 14 Jan 2013 17:43:15 +0000 (+0000) Subject: sfc: More sensible semantics for efx_filter_insert_filter() replace flag X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~507^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7de07a4deb8e7707892b952daa59eff67701f0c3;p=pandora-kernel.git sfc: More sensible semantics for efx_filter_insert_filter() replace flag The 'replace' flag to efx_filter_insert_filter() controls whether the new filter may replace *any* filter, and is checked even before priority comparison. But lower-priority filters should never block insertion of higher-priority filters. Change the priority checking so that lower-priority filters are replaced regardless of the value of the flag, and rename the flag to 'replace_equal'. Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed