]> git.baikalelectronics.ru Git - kernel.git/commit
net: sctp: introduce uapi header for sctp
authorDaniel Borkmann <dborkman@redhat.com>
Tue, 9 Apr 2013 05:54:01 +0000 (05:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Apr 2013 17:19:39 +0000 (13:19 -0400)
commitd493a294c7fd8274fd03cdf9e7b0a9b8cff35c62
tree6420508b2e4053927f2ec6df4a516366da31691f
parentd7f22d821d36f68e33a16fbc8ac7aebb21e3336b
net: sctp: introduce uapi header for sctp

This patch introduces an UAPI header for the SCTP protocol,
so that we can facilitate the maintenance and development of
user land applications or libraries, in particular in terms
of header synchronization.

To not break compatibility, some fragments from lksctp-tools'
netinet/sctp.h have been carefully included, while taking care
that neither kernel nor user land breaks, so both compile fine
with this change (for lksctp-tools I tested with the old
netinet/sctp.h header and with a newly adapted one that includes
the uapi sctp header). lksctp-tools smoke test run through
successfully as well in both cases.

Suggested-by: Neil Horman <nhorman@tuxdriver.com>
Cc: Neil Horman <nhorman@tuxdriver.com>
Cc: Vlad Yasevich <vyasevich@gmail.com>
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
fs/dlm/lowcomms.c
include/linux/sctp.h
include/net/sctp/constants.h
include/net/sctp/user.h [deleted file]
include/uapi/linux/Kbuild
include/uapi/linux/sctp.h [new file with mode: 0644]