]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commitc33d23c21501f8e3e045e73b55a49167e1f3a721
tree0563a34aa82a66b761c1bb87c93419f24308401f
parente5d08d718a7cd72c6aa79b5f0c309d9f0d7e4a95
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