File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,6 @@ static struct inet_protosw smc_inet_protosw = {
5656 .protocol = IPPROTO_SMC ,
5757 .prot = & smc_inet_prot ,
5858 .ops = & smc_inet_stream_ops ,
59- .flags = INET_PROTOSW_ICSK ,
6059};
6160
6261#if IS_ENABLED (CONFIG_IPV6 )
@@ -104,27 +103,15 @@ static struct inet_protosw smc_inet6_protosw = {
104103 .protocol = IPPROTO_SMC ,
105104 .prot = & smc_inet6_prot ,
106105 .ops = & smc_inet6_stream_ops ,
107- .flags = INET_PROTOSW_ICSK ,
108106};
109107#endif /* CONFIG_IPV6 */
110108
111- static unsigned int smc_sync_mss (struct sock * sk , u32 pmtu )
112- {
113- /* No need pass it through to clcsock, mss can always be set by
114- * sock_create_kern or smc_setsockopt.
115- */
116- return 0 ;
117- }
118-
119109static int smc_inet_init_sock (struct sock * sk )
120110{
121111 struct net * net = sock_net (sk );
122112
123113 /* init common smc sock */
124114 smc_sk_init (net , sk , IPPROTO_SMC );
125-
126- inet_csk (sk )-> icsk_sync_mss = smc_sync_mss ;
127-
128115 /* create clcsock */
129116 return smc_create_clcsk (net , sk , sk -> sk_family );
130117}
You can’t perform that action at this time.
0 commit comments