git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[NET]: Make mangling a checksum (0 -> 0xffff on the wire) explicit.
[sfrench/cifs-2.6.git]
/
include
/
net
/
ip6_fib.h
diff --git
a/include/net/ip6_fib.h
b/include/net/ip6_fib.h
index e4438de3bd6b821e3c16d627ae63b5e39e9b198b..f9cde44f93b44be4e104812f056b813d59e603c6 100644
(file)
--- a/
include/net/ip6_fib.h
+++ b/
include/net/ip6_fib.h
@@
-107,6
+107,11
@@
struct rt6_info
u8 rt6i_protocol;
};
+static inline struct inet6_dev *ip6_dst_idev(struct dst_entry *dst)
+{
+ return ((struct rt6_info *)dst)->rt6i_idev;
+}
+
struct fib6_walker_t
{
struct fib6_walker_t *prev, *next;