]> git.baikalelectronics.ru Git - kernel.git/commit
geneve: ensure ECN info is handled properly in all tx/rx paths
authorJohn W. Linville <linville@tuxdriver.com>
Mon, 21 Sep 2015 14:29:09 +0000 (10:29 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Sep 2015 23:49:56 +0000 (16:49 -0700)
commit7a30eea2658a073a109497893c0d7d305c098a57
treede0ba5cf07873cce7457f8e3a9a12f4128c34e2e
parent16163ad003f8cd186a6961ca7821cf3916403fbf
geneve: ensure ECN info is handled properly in all tx/rx paths

Partially due to a pre-exising "thinko", the new metadata-based tx/rx
paths were handling ECN propagation differently than the traditional
tx/rx paths.  This patch removes the "thinko" (involving multiple
ip_hdr assignments) on the rx path and corrects the ECN handling on
both the rx and tx paths.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
Reviewed-by: Jesse Gross <jesse@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/geneve.c