diff options
| author | Marcelo Ricardo Leitner <[email protected]> | 2016-07-13 18:09:00 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-07-14 01:10:14 +0000 |
| commit | 2d47fd120d23390fea38c3c7cc5ee05a5b95c49f (patch) | |
| tree | 9ebae306004e92e2a188d933dedf889c8e66a681 /net/switchdev/switchdev.c | |
| parent | sctp: do not clear chunk->ecn_ce_done flag (diff) | |
| download | kernel-2d47fd120d23390fea38c3c7cc5ee05a5b95c49f.tar.gz kernel-2d47fd120d23390fea38c3c7cc5ee05a5b95c49f.zip | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
