diff options
author | Hannes Frederic Sowa | 2013-10-23 20:06:00 +0200 |
---|---|---|
committer | David S. Miller | 2013-10-26 01:03:39 +0200 |
commit | 66415cf8a1b99d101317f5aa08574b1ec8832672 (patch) | |
tree | b67df35008f4bcec22b5f1730acaf16bae63c262 /drivers/net/ethernet/rdc | |
parent | net: make net_get_random_once irq safe (diff) | |
download | kernel-qcow2-linux-66415cf8a1b99d101317f5aa08574b1ec8832672.tar.gz kernel-qcow2-linux-66415cf8a1b99d101317f5aa08574b1ec8832672.tar.xz kernel-qcow2-linux-66415cf8a1b99d101317f5aa08574b1ec8832672.zip |
net: initialize hashrnd in flow_dissector with net_get_random_once
We also can defer the initialization of hashrnd in flow_dissector
to its first use. Since net_get_random_once is irq safe now we don't
have to audit the call paths if one of this functions get called by an
interrupt handler.
Cc: David S. Miller <davem@davemloft.net>
Cc: Eric Dumazet <edumazet@google.com>
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/rdc')
0 files changed, 0 insertions, 0 deletions