Commit f663507
Trond Myklebust
SUNRPC: Force close the socket when a hard error is reported
Fix up xs_wake_error() to close the socket when a hard error is being
reported. Usually, that means an ECONNRESET was received on a connection
attempt.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>1 parent caa388f commit f663507
1 file changed
Lines changed: 5 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1181 | 1181 | | |
1182 | 1182 | | |
1183 | 1183 | | |
| 1184 | + | |
1184 | 1185 | | |
1185 | 1186 | | |
1186 | 1187 | | |
| |||
2772 | 2773 | | |
2773 | 2774 | | |
2774 | 2775 | | |
2775 | | - | |
2776 | | - | |
2777 | | - | |
2778 | | - | |
2779 | | - | |
2780 | 2776 | | |
2781 | | - | |
| 2777 | + | |
2782 | 2778 | | |
2783 | | - | |
| 2779 | + | |
2784 | 2780 | | |
2785 | | - | |
2786 | | - | |
| 2781 | + | |
| 2782 | + | |
2787 | 2783 | | |
2788 | 2784 | | |
2789 | 2785 | | |
| |||
0 commit comments