>> >> It looks like the case where we come in with "sock->state == >> SS_LISTENING" has changed. Previously we would return -EOPNOTSUPP but >> now it'll be -EINVAL. Is that intentional? > > Just noticed something else. In the SS_CONNECTING case I don't think > there's any point in setting "res = -EALREADY" since a bit further > down it gets set unconditionally anyway. > Yes, you are right. Please check v2 version. Thanks, Ying > Chris >