Merge branch 'sctp-fully-support-for-dscp-and-flowlabel-per-transport'
authorDavid S. Miller <davem@davemloft.net>
Wed, 4 Jul 2018 02:36:55 +0000 (11:36 +0900)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Jul 2018 02:36:55 +0000 (11:36 +0900)
commit2bdea157b99903c8d344dbae44fedf033db4e2c2
treefc9216b00df2e629b019127b6ab7e795fc9b5049
parent05bd97fc559df4d26e33b0714b5327de8f610971
parent0999f021c988770a37edfb266027db9c413901fd
Merge branch 'sctp-fully-support-for-dscp-and-flowlabel-per-transport'

Xin Long says:

====================
sctp: fully support for dscp and flowlabel per transport

Now dscp and flowlabel are set from sock when sending the packets,
but being multi-homing, sctp also supports for dscp and flowlabel
per transport, which is described in section 8.1.12 in RFC6458.

v1->v2:
  - define ip_queue_xmit as inline in net/ip.h, instead of exporting
    it in Patch 1/5 according to David's suggestion.
  - fix the param len check in sctp_s/getsockopt_peer_addr_params()
    in Patch 3/5 to guarantee that an old app built with old kernel
    headers could work on the newer kernel per Marcelo's point.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>