lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 13 Dec 2007 09:47:18 -0800 (PST)
From:	David Miller <davem@...emloft.net>
To:	mschmidt@...hat.com
Cc:	netdev@...r.kernel.org, kaber@...sh.net, mmaslano@...hat.com
Subject: Re: [patch 1/2] ip_gre: Rebinding of GRE tunnels to other
 interfaces

From: mschmidt@...hat.com
Date: Thu, 13 Dec 2007 14:37:49 +0100

> This is similar to the change already done for IPIP tunnels.
> 
> Once created, a GRE tunnel can't be bound to another device.
> To reproduce:
> 
> # create a tunnel:
> ip tunnel add tunneltest0 mode gre remote 10.0.0.1 dev eth0
> # try to change the bounding device from eth0 to eth1:
> ip tunnel change tunneltest0 dev eth1
> # show the result:
> ip tunnel show tunneltest0
> 
> tunneltest0: gre/ip  remote 10.0.0.1  local any  dev eth0  ttl inherit
> 
> Notice the bound device has not changed from eth0 to eth1.
> 
> This patch fixes it. When changing the binding, it also recalculates the
> MTU according to the new bound device's MTU.
> 
> Signed-off-by: Michal Schmidt <mschmidt@...hat.com>

Applied to net-2.6.25, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists