summaryrefslogtreecommitdiffstats
path: root/net/core/rtnetlink.c
diff options
context:
space:
mode:
authorEric Dumazet2010-07-09 23:22:04 +0200
committerDavid S. Miller2010-07-12 21:57:55 +0200
commit9e34a5b51684bc90ac827ec4ba339f3892632eac (patch)
tree69cf791f15f9aedb2e7a40e473295f803ddd814a /net/core/rtnetlink.c
parentnet/ipv4: EXPORT_SYMBOL cleanups (diff)
downloadkernel-qcow2-linux-9e34a5b51684bc90ac827ec4ba339f3892632eac.tar.gz
kernel-qcow2-linux-9e34a5b51684bc90ac827ec4ba339f3892632eac.tar.xz
kernel-qcow2-linux-9e34a5b51684bc90ac827ec4ba339f3892632eac.zip
net/core: EXPORT_SYMBOL cleanups
CodingStyle cleanups EXPORT_SYMBOL should immediately follow the symbol declaration. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/rtnetlink.c')
-rw-r--r--net/core/rtnetlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c
index 5e773ea2201d..f78d821bd935 100644
--- a/net/core/rtnetlink.c
+++ b/net/core/rtnetlink.c
@@ -686,7 +686,7 @@ static size_t rtnl_port_size(const struct net_device *dev)
return port_self_size;
}
-static inline size_t if_nlmsg_size(const struct net_device *dev)
+static noinline size_t if_nlmsg_size(const struct net_device *dev)
{
return NLMSG_ALIGN(sizeof(struct ifinfomsg))
+ nla_total_size(IFNAMSIZ) /* IFLA_IFNAME */