diff options
author | 2010-06-01 08:59:33 +0000 | |
---|---|---|
committer | 2010-06-02 02:26:40 -0700 | |
commit | 08f382ebb8a9efb898840aa74cf55148c7a98af6 (patch) | |
tree | 2486b90342f17a8f5a1bf8feb1a219143b83da48 /lib/genalloc.c | |
parent | bnx2: Fix hang during rmmod bnx2. (diff) | |
download | wireguard-linux-08f382ebb8a9efb898840aa74cf55148c7a98af6.tar.xz wireguard-linux-08f382ebb8a9efb898840aa74cf55148c7a98af6.zip |
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 <scofeldm@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/genalloc.c')
0 files changed, 0 insertions, 0 deletions