summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/qlogic/qed
diff options
context:
space:
mode:
authorEric Dumazet2018-11-09 02:34:27 +0100
committerDavid S. Miller2018-11-09 03:40:30 +0100
commit0d5b9311baf27bb545f187f12ecfd558220c607d (patch)
tree73bc70b75089cf84c4d473506bfa59db36a08baa /drivers/net/ethernet/qlogic/qed
parentnet: hns3: bugfix for not checking return value (diff)
downloadkernel-qcow2-linux-0d5b9311baf27bb545f187f12ecfd558220c607d.tar.gz
kernel-qcow2-linux-0d5b9311baf27bb545f187f12ecfd558220c607d.tar.xz
kernel-qcow2-linux-0d5b9311baf27bb545f187f12ecfd558220c607d.zip
inet: frags: better deal with smp races
Multiple cpus might attempt to insert a new fragment in rhashtable, if for example RPS is buggy, as reported by 배석진 in https://patchwork.ozlabs.org/patch/994601/ We use rhashtable_lookup_get_insert_key() instead of rhashtable_insert_fast() to let cpus losing the race free their own inet_frag_queue and use the one that was inserted by another cpu. Fixes: 648700f76b03 ("inet: frags: use rhashtables for reassembly units") Signed-off-by: Eric Dumazet <edumazet@google.com> Reported-by: 배석진 <soukjin.bae@samsung.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qed')
0 files changed, 0 insertions, 0 deletions