diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2008-10-09 20:59:32 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-09 20:59:32 +0200 |
commit | 42aa916265d740d66ac1f17290366e9494c884c2 (patch) | |
tree | 284d444b14363656fd958c647bce9cb6ab54eba9 /scripts | |
parent | gre: Use needed_headroom (diff) | |
download | linux-42aa916265d740d66ac1f17290366e9494c884c2.tar.xz linux-42aa916265d740d66ac1f17290366e9494c884c2.zip |
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions