diff options
author | Xin Long <[email protected]> | 2018-07-02 18:21:14 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-07-04 11:36:54 +0900 |
commit | 4be4139f7d0dc74e5a0932c7c7ddf0eb65da9e3a (patch) | |
tree | 1392503fedca83a4bcab9f87eda38832686dc0a7 /lib/test_overflow.c | |
parent | 0b0dce7a36fb9f1a9dd8245ea82d3a268c6943fe (diff) |
sctp: add support for setting flowlabel when adding a transport
Struct sockaddr_in6 has the member sin6_flowinfo that includes the
ipv6 flowlabel, it should also support for setting flowlabel when
adding a transport whose ipaddr is from userspace.
Note that addrinfo in sctp_sendmsg is using struct in6_addr for
the secondary addrs, which doesn't contain sin6_flowinfo, and
it needs to copy sin6_flowinfo from the primary addr.
Signed-off-by: Xin Long <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions