sctp: create helper function to enable|disable sackdelay
authorwangweidong <wangweidong1@huawei.com>
Wed, 15 Jan 2014 09:24:01 +0000 (17:24 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Jan 2014 00:47:48 +0000 (16:47 -0800)
add sctp_spp_sackdelay_{enable|disable} helper function for
avoiding code duplication.

Signed-off-by: Wang Weidong <wangweidong1@huawei.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/socket.c

Simple merge