]> git.baikalelectronics.ru Git - kernel.git/commit
enic: use netdev_rss_key_fill() helper
authorEric Dumazet <edumazet@google.com>
Sun, 23 Nov 2014 20:27:41 +0000 (12:27 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Nov 2014 02:01:42 +0000 (21:01 -0500)
commit46aa054f2de35b41cbd504ce78a28fa23c2d2d79
tree0563a34aa82a66b761c1bb87c93419f24308401f
parent750446ce2fefe48e5ad99681bfdb4f0ca34985b3
enic: use netdev_rss_key_fill() helper

Use of well known RSS key might increase attack surface.

Switch to a random one, using generic helper so that all
ports share a common key.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Christian Benvenuti <benve@cisco.com>
Cc: Govindarajulu Varadarajan <_govind@gmx.com>
Cc: Sujith Sankar <ssujith@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cisco/enic/enic_main.c
drivers/net/ethernet/cisco/enic/vnic_rss.h