ipset: move to trunk and add myself as maintainer
[openwrt/openwrt.git] / package / network / utils / ipset / patches / 200-remove-ipv6_addr_copy.patch
1 --- a/kernel/net/netfilter/ipset/ip_set_hash_ip.c
2 +++ b/kernel/net/netfilter/ipset/ip_set_hash_ip.c
3 @@ -241,7 +241,7 @@ hash_ip6_data_isnull(const struct hash_i
4 static inline void
5 hash_ip6_data_copy(struct hash_ip6_elem *dst, const struct hash_ip6_elem *src)
6 {
7 - ipv6_addr_copy(&dst->ip.in6, &src->ip.in6);
8 + dst->ip.in6 = src->ip.in6;
9 }
10
11 static inline void
12 --- a/kernel/net/netfilter/ipset/ip_set_hash_net.c
13 +++ b/kernel/net/netfilter/ipset/ip_set_hash_net.c
14 @@ -295,7 +295,7 @@ static inline void
15 hash_net6_data_copy(struct hash_net6_elem *dst,
16 const struct hash_net6_elem *src)
17 {
18 - ipv6_addr_copy(&dst->ip.in6, &src->ip.in6);
19 + dst->ip.in6 = src->ip.in6;
20 dst->cidr = src->cidr;
21 dst->nomatch = src->nomatch;
22 }