Herbert Xu 42aa916265 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 <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-10-09 11:59:32 -07:00
..
2008-07-16 20:31:16 -07:00
2008-07-16 20:20:11 -07:00
2008-09-02 17:28:58 -07:00
2008-08-06 02:39:30 -07:00
2008-10-07 15:34:37 -07:00
2008-06-11 21:00:38 -07:00
2008-07-16 20:20:11 -07:00
2008-06-11 21:00:38 -07:00
2008-06-11 21:00:38 -07:00
2008-10-07 08:38:24 +11:00
2008-10-07 08:38:24 +11:00
2008-06-11 21:00:38 -07:00
2008-07-16 20:19:49 -07:00
2008-05-01 08:03:58 -07:00
2008-06-11 21:00:38 -07:00
2008-10-07 14:43:06 -07:00
2008-10-07 14:43:06 -07:00
2008-07-10 16:51:32 -07:00
2008-10-07 14:18:42 -07:00
2008-10-07 14:43:06 -07:00
2008-10-08 11:44:17 -07:00
2008-03-26 16:51:09 -07:00