diff options
Diffstat (limited to 'net/sunrpc/svcsock.c')
-rw-r--r-- | net/sunrpc/svcsock.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net/sunrpc/svcsock.c b/net/sunrpc/svcsock.c index 27ba34a152ec..d120fadeb1ae 100644 --- a/net/sunrpc/svcsock.c +++ b/net/sunrpc/svcsock.c | |||
@@ -1689,9 +1689,11 @@ void svc_close_socket(struct svc_sock *svsk) | |||
1689 | * @serv: RPC server structure | 1689 | * @serv: RPC server structure |
1690 | * @protocol: transport protocol to use | 1690 | * @protocol: transport protocol to use |
1691 | * @port: port to use | 1691 | * @port: port to use |
1692 | * @flags: requested socket characteristics | ||
1692 | * | 1693 | * |
1693 | */ | 1694 | */ |
1694 | int svc_makesock(struct svc_serv *serv, int protocol, unsigned short port) | 1695 | int svc_makesock(struct svc_serv *serv, int protocol, unsigned short port, |
1696 | int flags) | ||
1695 | { | 1697 | { |
1696 | struct sockaddr_in sin = { | 1698 | struct sockaddr_in sin = { |
1697 | .sin_family = AF_INET, | 1699 | .sin_family = AF_INET, |
@@ -1700,7 +1702,7 @@ int svc_makesock(struct svc_serv *serv, int protocol, unsigned short port) | |||
1700 | }; | 1702 | }; |
1701 | 1703 | ||
1702 | dprintk("svc: creating socket proto = %d\n", protocol); | 1704 | dprintk("svc: creating socket proto = %d\n", protocol); |
1703 | return svc_create_socket(serv, protocol, &sin, SVC_SOCK_DEFAULTS); | 1705 | return svc_create_socket(serv, protocol, &sin, flags); |
1704 | } | 1706 | } |
1705 | 1707 | ||
1706 | /* | 1708 | /* |