From: Scott Feldman Date: Tue, 1 Jun 2010 08:59:33 +0000 (+0000) Subject: enic: bug fix: make the set/get netlink VF_PORT support symmetrical X-Git-Tag: v2.6.35-rc2~4^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08f382ebb8a9efb898840aa74cf55148c7a98af6;p=pandora-kernel.git enic: bug fix: make the set/get netlink VF_PORT support symmetrical To make get/set netlink VF_PORT truly symmetrical, we need to keep track of what items are set and only return those items on get. Previously, the driver wasn't differentiating between a set of attr with a NULL string, for example, and not setting the attr at all. We only want to return the NULL string if the attr was actually set with a NULL string. Otherwise, don't return the attr. Signed-off-by: Scott Feldman Signed-off-by: David S. Miller --- Reading git-diff-tree failed