Subject: SCTP and IP_TOS

From: Ben Greear <[email-masked]>
Date: Mon, 12 Aug 2013 10:00:02 -0700

Hello!

I notice that I read 0x2 as IP_TOS getsockopt on an SCTP socket configured
for streaming mode.

Looks to me like the reason is that SCTP uses a socket type of SCTP_SOCKET_TCP
and the ipv4/ip_sockglue.c code is only masking out ECN for SOCK_STREAM types.

Is this per design, or should the ip_sockglue.c mask out ECN for SCTP_SOCKET_TCP
types as well?

Thanks,
Ben

-- 
Ben Greear <[email-masked]>
Candela Technologies Inc  http://www.candelatech.com