diff options
Diffstat (limited to 'net/sunrpc/svcsock.c')
-rw-r--r-- | net/sunrpc/svcsock.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/sunrpc/svcsock.c b/net/sunrpc/svcsock.c index 54f1b3d993a6..c507f6f8ee54 100644 --- a/net/sunrpc/svcsock.c +++ b/net/sunrpc/svcsock.c | |||
@@ -906,6 +906,7 @@ static struct svc_xprt_ops svc_udp_ops = { | |||
906 | static struct svc_xprt_class svc_udp_class = { | 906 | static struct svc_xprt_class svc_udp_class = { |
907 | .xcl_name = "udp", | 907 | .xcl_name = "udp", |
908 | .xcl_ops = &svc_udp_ops, | 908 | .xcl_ops = &svc_udp_ops, |
909 | .xcl_max_payload = RPCSVC_MAXPAYLOAD_UDP, | ||
909 | }; | 910 | }; |
910 | 911 | ||
911 | static void | 912 | static void |
@@ -1359,6 +1360,7 @@ static struct svc_xprt_ops svc_tcp_ops = { | |||
1359 | static struct svc_xprt_class svc_tcp_class = { | 1360 | static struct svc_xprt_class svc_tcp_class = { |
1360 | .xcl_name = "tcp", | 1361 | .xcl_name = "tcp", |
1361 | .xcl_ops = &svc_tcp_ops, | 1362 | .xcl_ops = &svc_tcp_ops, |
1363 | .xcl_max_payload = RPCSVC_MAXPAYLOAD_TCP, | ||
1362 | }; | 1364 | }; |
1363 | 1365 | ||
1364 | void svc_init_xprt_sock(void) | 1366 | void svc_init_xprt_sock(void) |