projects
/
platform
/
upstream
/
ebtables.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc86053
)
workaround for kernel regression bug: IPv6 source/destination addresses are potential...
author
Luis Fernando
<tdthp@terra.com.br>
Wed, 3 Jul 2013 20:19:55 +0000
(22:19 +0200)
committer
Bart De Schuymer
<bdschuym@pandora.be>
Wed, 3 Jul 2013 20:19:55 +0000
(22:19 +0200)
extensions/ebt_ip6.c
patch
|
blob
|
history
diff --git
a/extensions/ebt_ip6.c
b/extensions/ebt_ip6.c
index
0465e77
..
bbdc4ae
100644
(file)
--- a/
extensions/ebt_ip6.c
+++ b/
extensions/ebt_ip6.c
@@
-312,6
+312,10
@@
static void init(struct ebt_entry_match *match)
ipinfo->invflags = 0;
ipinfo->bitmask = 0;
+ memset(ipinfo->saddr.s6_addr, 0, sizeof(ipinfo->saddr.s6_addr));
+ memset(ipinfo->smsk.s6_addr, 0, sizeof(ipinfo->smsk.s6_addr));
+ memset(ipinfo->daddr.s6_addr, 0, sizeof(ipinfo->daddr.s6_addr));
+ memset(ipinfo->dmsk.s6_addr, 0, sizeof(ipinfo->dmsk.s6_addr));
}
#define OPT_SOURCE 0x01