projects
/
cascardo
/
linux.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()
[cascardo/linux.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
60d0165
..
2898819
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;
}