sctp: merge the seq_start/next/exits in remaddrs and assocs
authorXin Long <lucien.xin@gmail.com>
Thu, 14 Apr 2016 07:35:34 +0000 (15:35 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Apr 2016 21:29:36 +0000 (17:29 -0400)
commitb5e2f4e6998a2b999da8fa0290b692f0bd85c8b7
tree08da79646ae423c79c8ebc3ed46e5fa6760084a5
parent8f840e47f190cbe61a96945c13e9551048d42cef
sctp: merge the seq_start/next/exits in remaddrs and assocs

In sctp proc, these three functions in remaddrs and assocs are the
same. we should merge them into one.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/proc.c