ethtool: Fix filter addition when caching n-tuple filters
authorPeter Waskiewicz <peter.p.waskiewicz.jr@intel.com>
Fri, 12 Feb 2010 13:48:05 +0000 (13:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Feb 2010 05:49:47 +0000 (21:49 -0800)
We can allow a filter to be added successfully to the underlying
hardware, but still return an error if the cached list memory
allocation fails.  This patch fixes that condition.

Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found