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)
commit08399efc631960c827cebcfe83ad7ed54ebc012b
treede0ba5cf07873cce7457f8e3a9a12f4128c34e2e
parent29c6852602e259d2c1882f320b29d5c3fec0de04
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