svcrpc: destroy server sockets all at once
There's no reason I can see that we need to call sv_shutdown between closing the two lists of sockets. Cc: stable@kernel.org Signed-off-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:
@@ -34,7 +34,7 @@ struct svc_sock {
|
||||
/*
|
||||
* Function prototypes.
|
||||
*/
|
||||
void svc_close_all(struct list_head *);
|
||||
void svc_close_all(struct svc_serv *);
|
||||
int svc_recv(struct svc_rqst *, long);
|
||||
int svc_send(struct svc_rqst *);
|
||||
void svc_drop(struct svc_rqst *);
|
||||
|
||||
Reference in New Issue
Block a user