]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
geneve: fix hlist corruption
authorJiri Benc <jbenc@redhat.com>
Sun, 2 Jul 2017 17:00:58 +0000 (19:00 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Jul 2017 09:36:27 +0000 (02:36 -0700)
commit4b4c21fad6ae6bd58ff1566f23b0f4f70fdc9a30
treed619f4433dc26c960bb92c57add6f7eb591330bf
parent69e766612c4bcb79e19cebed9eed61d4222c1d47
geneve: fix hlist corruption

It's not a good idea to add the same hlist_node to two different hash lists.
This leads to various hard to debug memory corruptions.

Fixes: 8ed66f0e8235 ("geneve: implement support for IPv6-based tunnels")
Cc: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/geneve.c