commit | 2d47fd120d23390fea38c3c7cc5ee05a5b95c49f | [log] [tgz] |
---|---|---|
author | Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> | Wed Jul 13 15:09:00 2016 -0300 |
committer | David S. Miller <davem@davemloft.net> | Wed Jul 13 18:10:14 2016 -0700 |
tree | 9ebae306004e92e2a188d933dedf889c8e66a681 | |
parent | d9cef42529402f9fce10376b6e427a5137d90c3d [diff] |
sctp: only check for ECN if peer is using it Currently only read-only checks are performed up to the point on where we check if peer is ECN capable, checks which we can avoid otherwise. The flag ecn_ce_done is only used to perform this check once per incoming packet, and nothing more. Thus this patch moves the peer check up. Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>