projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: remove ipv6_addr_copy()
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
net
/
netfilter
/
ipset
/
ip_set_hash_net.c
diff --git
a/net/netfilter/ipset/ip_set_hash_net.c
b/net/netfilter/ipset/ip_set_hash_net.c
index 60d016541c586b102f8e97686bbb49db8a9329eb..28988196775e67a39bcf954e004068d2de456db5 100644
(file)
--- a/
net/netfilter/ipset/ip_set_hash_net.c
+++ b/
net/netfilter/ipset/ip_set_hash_net.c
@@
-267,7
+267,7
@@
static inline void
hash_net6_data_copy(struct hash_net6_elem *dst,
const struct hash_net6_elem *src)
{
-
ipv6_addr_copy(&dst->ip.in6, &src->ip.in6)
;
+
dst->ip.in6 = src->ip.in6
;
dst->cidr = src->cidr;
}