IPVS optimisations for v3.10 by Julian Anastasov
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAABAgAGBQJRVRHkAAoJENfPZGlqN0++VQMQAI47xTp/CnI5DrgH28X0wXz5
MadDXyUASh7Rssr6zxUP+Wops/hZhM0Fe78BGVBZBC+zFQdzTa70IrczqoV+7cVu
r/vJbxb8B4aiXQMf11QAgXA+3chsjSUUbmglgF7bt385MucLWQLySICDTm8kZ5Ti
8lFarVTYMBO8Q7uK03z4T4hQCXP1KqfNk5ixgHwDDT99w1E97tY93ucYksUEzpK0
MFTWw9hLNoTbFBJO5RoBlBwtqrldWHyfZSKgN6evIkFXvO4MugeeAcK9Ny7IFE2a
vQKb+0hBCMr1ISsdCWpV1C7A55v8FDcJJMqfqrRnUE+hirSaEtGRQqIGn5uhBNS/
F95n98TzRrDXbvZK/f/LTUmJuDCEHI5O8rAmv4d8NXWjb4v8HLY4pT/aPHs+RZN2
bhztMGfpNFUY7HLhMcboN3nVRVtKEmBofIzKm+UVzwKf/ot9T6OrXwjGjrwHv4tq
9vKVm6ZEWJV4FpPD6R8JBbck/2PPT61P7pJxVf6sO2Noib+fmpgbrWGu6GY1GeaR
aEjwUtMiSZd5GgWUZ/lkXT53yBYFz3zcD55OEGG4dAXZjImK2lAJ8pGfMvEJK+x1
lSJwXQ9FiJA0Pip9SktDLXEH9fbF5/aSdNGCBQdU5sZ1FhSjsKcmSzgYpshEk0qS
HK2XAVefYu3JaAXz0V48
=IkNx
-----END PGP SIGNATURE-----
ipvs: do not disable bh for long time

We used a global BH disable in LOCAL_OUT hook.
Add _bh suffix to all places that need it and remove
the disabling from LOCAL_OUT and sync code.

Functions like ip_defrag need protection from
BH, so add it. As for nf_nat_mangle_tcp_packet, it needs
RCU lock.

Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
12 files changed