diff options
Diffstat (limited to 'kernel/pfxlen.c')
-rw-r--r-- | kernel/pfxlen.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/kernel/pfxlen.c b/kernel/pfxlen.c index c6c9dcc..23f8c81 100644 --- a/kernel/pfxlen.c +++ b/kernel/pfxlen.c @@ -148,8 +148,10 @@ const union nf_inet_addr ip_set_netmask_map[] = { EXPORT_SYMBOL_GPL(ip_set_netmask_map); #undef E -#define E(a, b, c, d) \ - {.ip6 = { a, b, c, d } } +#define E(a, b, c, d) \ + {.ip6 = { (__force __be32) a, (__force __be32) b, \ + (__force __be32) c, (__force __be32) d, \ + } } /* * This table works for both IPv4 and IPv6; |