]> git.baikalelectronics.ru Git - kernel.git/commit
be2net: hash key for rss-config cmd not set
authorSathya Perla <sathya.perla@emulex.com>
Mon, 23 May 2011 20:29:09 +0000 (20:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 May 2011 17:33:45 +0000 (13:33 -0400)
commite9e9062551d67b3078deceaae86134b4df37b68f
treef8b5b4dd334d976d916138155d2cb952883fb785
parentc434d1d8eee0dab88f10d8920bd0a93880486664
be2net: hash key for rss-config cmd not set

A non-zero, non-descript value is needed as the hash key. The hash variable was left un-initialized; but sometimes it gets a zero value
and hashing is not effective. The constant value used now (not of any significance) seems to work fine.

Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be_cmds.c