summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2016-09-01 14:56:49 -0700
committerDavid S. Miller <davem@davemloft.net>2016-09-04 13:29:29 -0700
commit38f7bd94a97b542de86a2be9229289717e33a7a4 (patch)
treed66b5037baec1e73674d20c179221f90ace84431 /include/net
parent2f83a53a81f5695b0f13635d411cd78367e547d6 (diff)
downloadop-kernel-dev-38f7bd94a97b542de86a2be9229289717e33a7a4.zip
op-kernel-dev-38f7bd94a97b542de86a2be9229289717e33a7a4.tar.gz
Revert "af_unix: Fix splice-bind deadlock"
This reverts commit c845acb324aa85a39650a14e7696982ceea75dc1. It turns out that it just replaces one deadlock with another one: we can still get the wrong lock ordering with the readlock due to overlayfs calling back into the filesystem layer and still taking the vfs locks after the readlock. The proper solution ends up being to just split the readlock into two pieces: the bind lock (taken *outside* the vfs locks) and the IO lock (taken *inside* the filesystem locks). The two locks are independent anyway. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Reviewed-by: Shmulik Ladkani <shmulik.ladkani@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud