]> asedeno.scripts.mit.edu Git - linux.git/commit
DLM: Save and restore socket callbacks properly
authorBob Peterson <rpeterso@redhat.com>
Fri, 5 Feb 2016 19:39:02 +0000 (14:39 -0500)
committerDavid Teigland <teigland@redhat.com>
Mon, 22 Feb 2016 20:02:17 +0000 (14:02 -0600)
commitb81171cb6869111dbaf9fb642f4434514c21d696
treeee4a60628eae1e09006f50df50076b519f82306b
parent1a31833d085a339cf42573de0717209e8b2172e8
DLM: Save and restore socket callbacks properly

This patch fixes the problems with patch b3a5bbfd7.

1. It removes a return statement from lowcomms_error_report
   because it needs to call the original error report in all paths
   through the function.
2. All socket callbacks are saved and restored, not just the
   sk_error_report, and that's done so with proper locking like
   sunrpc does.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/lowcomms.c