Problems with peeled-off sockets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello All,

According to the RFC, a peeled-off socket is a one-to-one socket. But in lksctp a peeled-off socket it not TCP style, it's UDP_HIGH_BANDWIDTH style. Because of this, shutdown() doesn't work, linger probably doesn't work, and so on.

For example, in sctp_shutdown():

static void sctp_shutdown(struct sock *sk, int how)
{
        struct net *net = sock_net(sk);
        struct sctp_endpoint *ep;

        if (!sctp_style(sk, TCP))
                return;

Here we just bail out, because a peeled-off socket is not TCP style.

Is this just a bug, or am I missing something? Asking mostly out of personal curiosity.




[Index of Archives]     [Linux Networking Development]     [Linux OMAP]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux