OS-5641: Debug build broken by SO_REUSEPORT fix

Details

Issue Type:Bug
Priority:4 - Normal
Status:Resolved
Created at:2016-08-31T21:00:35.000Z
Updated at:2019-02-05T22:32:58.664Z

People

Created by:Former user
Reported by:Former user
Assigned to:Former user

Resolution

Done: Work has been completed on this issue.
(Resolution Date: 2019-02-05T22:32:58.655Z)

Related Issues

Labels

lxbrand

Description

Debug build error

../../common/inet/tcp/tcp_opt_data.c:523: error: 'tcp_t' has no member named 'tcp_conn_rg_bind'

I removed this invalid ASSERT to unblock the build:

--- a/usr/src/uts/common/inet/tcp/tcp_opt_data.c
+++ b/usr/src/uts/common/inet/tcp/tcp_opt_data.c
@@ -520,7 +520,6 @@ tcp_set_reuseport(conn_t *connp, boolean_t do_enable)
                         * of SO_REUSEPORT.
                         */
                        ASSERT(connp->conn_reuseport == 0);
-                       ASSERT(tcp->tcp_conn_rg_bind == NULL);
                        return (0);
                }
        }

Comments

Comment by Former user
Created at 2016-08-31T21:04:10.000Z
Updated at 2017-12-14T17:23:59.445Z

This might have been intended to be tcp_rg_bind but it is simply removed for now.