OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83f7398
)
net: bridge: add src field to br_ip
author
Nikolay Aleksandrov
<nikolay@nvidia.com>
Tue, 22 Sep 2020 07:30:15 +0000
(10:30 +0300)
committer
David S. Miller
<davem@davemloft.net>
Wed, 23 Sep 2020 20:24:34 +0000
(13:24 -0700)
Add a new src field to struct br_ip which will be used to lookup S, G
entries. When SSM option is added we will enable full br_ip lookups.
Signed-off-by: Nikolay Aleksandrov <nikolay@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/if_bridge.h
patch
|
blob
|
history
diff --git
a/include/linux/if_bridge.h
b/include/linux/if_bridge.h
index
6479a38
..
4fb9c49
100644
(file)
--- a/
include/linux/if_bridge.h
+++ b/
include/linux/if_bridge.h
@@
-19,6
+19,12
@@
struct br_ip {
#if IS_ENABLED(CONFIG_IPV6)
struct in6_addr ip6;
#endif
+ } src;
+ union {
+ __be32 ip4;
+#if IS_ENABLED(CONFIG_IPV6)
+ struct in6_addr ip6;
+#endif
} u;
__be16 proto;
__u16 vid;