From: Herbert Xu Date: Thu, 9 Oct 2008 18:59:32 +0000 (-0700) Subject: gre: Move MTU setting out of ipgre_tunnel_bind_dev X-Git-Tag: v2.6.28-rc1~717^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42aa916265d740d66ac1f17290366e9494c884c2;p=pandora-kernel.git gre: Move MTU setting out of ipgre_tunnel_bind_dev This patch moves the dev->mtu setting out of ipgre_tunnel_bind_dev. This is in prepartion of using rtnl_link where we'll need to make the MTU setting conditional on whether the user has supplied an MTU. This also requires the move of the ipgre_tunnel_bind_dev call out of the dev->init function so that we can access the user parameters later. This patch also adds a check to prevent setting the MTU below the minimum of 68. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller --- Reading git-diff-tree failed