summaryrefslogtreecommitdiffstats
path: root/include/net/ip6_route.h
diff options
context:
space:
mode:
authorEric Dumazet2012-05-18 20:57:34 +0200
committerDavid S. Miller2012-05-19 07:08:16 +0200
commita50feda546ac03415707a9bbcac8d6b20714db21 (patch)
tree3c1f5d64399e713c97545ca39984d4d2efe6ca5d /include/net/ip6_route.h
parentipx: Remove spurious NULL checking in ipx_ioctl(). (diff)
downloadkernel-qcow2-linux-a50feda546ac03415707a9bbcac8d6b20714db21.tar.gz
kernel-qcow2-linux-a50feda546ac03415707a9bbcac8d6b20714db21.tar.xz
kernel-qcow2-linux-a50feda546ac03415707a9bbcac8d6b20714db21.zip
ipv6: bool/const conversions phase2
Mostly bool conversions, some inline removals and const additions. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip6_route.h')
-rw-r--r--include/net/ip6_route.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/ip6_route.h b/include/net/ip6_route.h
index c062b6773cc7..37c1a1ed82c1 100644
--- a/include/net/ip6_route.h
+++ b/include/net/ip6_route.h
@@ -175,7 +175,7 @@ static inline void ip6_dst_store(struct sock *sk, struct dst_entry *dst,
spin_unlock(&sk->sk_dst_lock);
}
-static inline int ipv6_unicast_destination(struct sk_buff *skb)
+static inline bool ipv6_unicast_destination(const struct sk_buff *skb)
{
struct rt6_info *rt = (struct rt6_info *) skb_dst(skb);