diff options
author | Xin Long <lucien.xin@gmail.com> | 2018-03-01 18:05:14 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-04 21:00:56 +0300 |
commit | 204f817fb9ab1b42c34c27d593cad2992d575f71 (patch) | |
tree | d83eb38ff98b1f67ea9b66eb5daed0c0d945716e /net/mac80211 | |
parent | becef9b1e249c849ca15889586e02668d6d723a2 (diff) | |
download | linux-204f817fb9ab1b42c34c27d593cad2992d575f71.tar.xz |
sctp: factor out sctp_sendmsg_parse from sctp_sendmsg
This patch is to move the codes for parsing msghdr and checking
sk into sctp_sendmsg_parse.
Note that different from before, 'sinfo' in sctp_sendmsg won't
be NULL any more. It gets the value either from cmsgs->srinfo,
cmsgs->sinfo or asoc. With it, the 'sinfo' and 'fill_sinfo_ttl'
check can be removed from sctp_sendmsg.
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211')
0 files changed, 0 insertions, 0 deletions