Re: [PATCH v3] net-netlink: Add a new attribute to expose TOSvalues via netlink

From: Eric Dumazet
Date: Wed Oct 12 2011 - 00:31:38 EST


Le mardi 11 octobre 2011 Ã 21:16 -0700, MuraliRaja Muniraju a Ãcrit :
> Eric,
> I think it would be useful to expose the values this way.
> I shall make the changes to add TCLASS for ipv6 in the description.
>
> Regarding the TIME_WAIT state, I think it would be better of not
> exposing the values because there would hardly be anything to transmit
> during this time.
>

My remark had nothing to do with your patch actually :

We dont store TOS/TCLASS on TIME_WAIT sockets, so you cannot report
value in inet_diag.

But we do send packets on behalf of TIME_WAIT sockets ;)

Think about ACK messages. They probably are sent with a 0 TOS/TCLASS
field... I am not sure its a problem or not.



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/