[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160531.115934.448180712677695713.davem@davemloft.net>
Date: Tue, 31 May 2016 11:59:34 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: lucien.xin@...il.com
Cc: netdev@...r.kernel.org, linux-sctp@...r.kernel.org,
marcelo.leitner@...il.com, vyasevich@...il.com,
daniel@...earbox.net, phil@....cc
Subject: Re: [PATCHv2 net] sctp: sctp_diag should dump sctp socket type
From: Xin Long <lucien.xin@...il.com>
Date: Sun, 29 May 2016 17:42:13 +0800
> Now we cannot distinguish that one sk is a udp or sctp style when
> we use ss to dump sctp_info. it's necessary to dump it as well.
>
> For sctp_diag, ss support is not officially available, thus there
> are no official users of this yet, so we can add this field in the
> middle of sctp_info without breaking user API.
>
> v1->v2:
> - move 'sctpi_s_type' field to the end of struct sctp_info, so
> that it won't cause incompatibility with applications already
> built.
> - add __reserved3 in sctp_info to make sure sctp_info is 8-byte
> alignment.
>
> Signed-off-by: Xin Long <lucien.xin@...il.com>
Applied.
Powered by blists - more mailing lists