diff options
author | Steffen Klassert <steffen.klassert@secunet.com> | 2011-11-23 03:12:51 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-11-26 20:29:50 +0100 |
commit | ebb762f27fed083cb993a0816393aba4615f6544 (patch) | |
tree | c065070f78d4a272d99183606d103519426bb344 /include/net/dst_ops.h | |
parent | route: Use the device mtu as the default for blackhole routes (diff) | |
download | linux-ebb762f27fed083cb993a0816393aba4615f6544.tar.xz linux-ebb762f27fed083cb993a0816393aba4615f6544.zip |
net: Rename the dst_opt default_mtu method to mtu
We plan to invoke the dst_opt->default_mtu() method unconditioally
from dst_mtu(). So rename the method to dst_opt->mtu() to match
the name with the new meaning.
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/dst_ops.h')
-rw-r--r-- | include/net/dst_ops.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/dst_ops.h b/include/net/dst_ops.h index 9adb99845a56..e1c2ee0eef47 100644 --- a/include/net/dst_ops.h +++ b/include/net/dst_ops.h @@ -17,7 +17,7 @@ struct dst_ops { int (*gc)(struct dst_ops *ops); struct dst_entry * (*check)(struct dst_entry *, __u32 cookie); unsigned int (*default_advmss)(const struct dst_entry *); - unsigned int (*default_mtu)(const struct dst_entry *); + unsigned int (*mtu)(const struct dst_entry *); u32 * (*cow_metrics)(struct dst_entry *, unsigned long); void (*destroy)(struct dst_entry *); void (*ifdown)(struct dst_entry *, |