Print this page
tcp: conn_mlp_type will be set later in tcp_init_values

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/inet/tcp/tcp.c
          +++ new/usr/src/uts/common/inet/tcp/tcp.c
↓ open down ↓ 2691 lines elided ↑ open up ↑
2692 2692          connp->conn_open_time = ddi_get_lbolt64();
2693 2693  
2694 2694          /* Cache things in the ixa without any refhold */
2695 2695          ASSERT(!(connp->conn_ixa->ixa_free_flags & IXA_FREE_CRED));
2696 2696          connp->conn_ixa->ixa_cred = credp;
2697 2697          connp->conn_ixa->ixa_cpid = connp->conn_cpid;
2698 2698  
2699 2699          connp->conn_zoneid = zoneid;
2700 2700          /* conn_allzones can not be set this early, hence no IPCL_ZONEID */
2701 2701          connp->conn_ixa->ixa_zoneid = zoneid;
2702      -        connp->conn_mlp_type = mlptSingle;
2703 2702          ASSERT(connp->conn_netstack == tcps->tcps_netstack);
2704 2703          ASSERT(tcp->tcp_tcps == tcps);
2705 2704  
2706 2705          /*
2707 2706           * If the caller has the process-wide flag set, then default to MAC
2708 2707           * exempt mode.  This allows read-down to unlabeled hosts.
2709 2708           */
2710 2709          if (getpflags(NET_MAC_AWARE, credp) != 0)
2711 2710                  connp->conn_mac_mode = CONN_MAC_AWARE;
2712 2711  
↓ open down ↓ 1762 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX