]> Pileus Git - ~andy/linux/commit
sctp: Turn the enum socket options into defines
authorVlad Yasevich <vladislav.yasevich@hp.com>
Mon, 23 Nov 2009 20:53:59 +0000 (15:53 -0500)
committerVlad Yasevich <vladislav.yasevich@hp.com>
Mon, 23 Nov 2009 20:53:59 +0000 (15:53 -0500)
commita5b03ad2143c5bc9ae76533e8321fe66258b4f35
tree3c726dd6fd3d6d3bb711711018ea4808eb791e51
parent245cba7e55929dc2b10b7d915bfba0168eeeed17
sctp: Turn the enum socket options into defines

Recent attempt to remove deprecated socket options demonstrated
that removing options from the enum space will have severe
binary compatibility issues.  The reason is that it changes
the subsequent enum space and causes option values to be redefined.
To solve this, and to get rid of the ugly double statements for
every option, we simply convert to the #define scheme.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
include/net/sctp/user.h