SS_ISCONFIRMING
Aggelos Economopoulos
aoiko at cc.ece.ntua.gr
Sat Jul 26 05:36:22 PDT 2008
Notice anything missing?
> grep -rh SS_ISCONFIRMING sys
if ((so->so_state & SS_ISCONFIRMING) == 0 &&
if (so->so_state & SS_ISCONFIRMING && resid)
so->so_state &= ~(SS_ISCONNECTING|SS_ISDISCONNECTING|SS_ISCONFIRMING);
if ((so->so_state & (SS_ISCONNECTED|SS_ISCONFIRMING)) == 0) {
& (SS_ISCONNECTED|SS_ISCONFIRMING)) == 0)
#define SS_ISCONFIRMING 0x0400 /* deciding to accept connection req */
>
Unless someone, somewhere is setting it using a magic constant,
SS_ISCONFIRMING cannot ever be set and the tests above can be removed. Am
I missing something?
Aggelos
More information about the Kernel
mailing list