diff options
author | David S. Miller <davem@davemloft.net> | 2015-08-18 00:28:04 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-08-18 00:28:04 +0300 |
commit | 1f979b117b17978b70f20bd981f0791012b1cddf (patch) | |
tree | a2a8f4fa5c5237c7c27ce41e1c1537ee3e043ed8 /drivers/net/ethernet/emulex | |
parent | 776829de90c5972895db398993ddfa9417ff8b01 (diff) | |
parent | 9c7370a166b4e157137bfbfe2ad296d57147547c (diff) | |
download | linux-1f979b117b17978b70f20bd981f0791012b1cddf.tar.xz |
Merge branch 'ipv6_percpu_rt_deadlock'
Martin KaFai Lau says:
====================
ipv6: Fix a potential deadlock when creating pcpu rt
v1 -> v2:
A minor change in the commit message of patch 2.
This patch series fixes a potential deadlock when creating a pcpu rt.
It happens when dst_alloc() decided to run gc. Something like this:
read_lock(&table->tb6_lock);
ip6_rt_pcpu_alloc()
=> dst_alloc()
=> ip6_dst_gc()
=> write_lock(&table->tb6_lock); /* oops */
Patch 1 and 2 are some prep works.
Patch 3 is the fix.
Original report: https://bugzilla.kernel.org/show_bug.cgi?id=102291
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/emulex')
0 files changed, 0 insertions, 0 deletions