sctp: check for ipv6_pinfo legal sndflow with flowlabel in sctp_v6_get_dst
authorXin Long <lucien.xin@gmail.com>
Mon, 2 Jul 2018 10:21:15 +0000 (18:21 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Jul 2018 02:36:54 +0000 (11:36 +0900)
commit0999f021c988770a37edfb266027db9c413901fd
treefc9216b00df2e629b019127b6ab7e795fc9b5049
parent4be4139f7d0dc74e5a0932c7c7ddf0eb65da9e3a
sctp: check for ipv6_pinfo legal sndflow with flowlabel in sctp_v6_get_dst

The transport with illegal flowlabel should not be allowed to send
packets. Other transport protocols already denies this.

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