]> git.baikalelectronics.ru Git - kernel.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)
commitc93a38e206efccbc5d1c587dd0ecc1ec0a48544f
treed619f4433dc26c960bb92c57add6f7eb591330bf
parent3ce734554e0bc413f260655c02da329d0eb688ce
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: 577c5539298b ("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