|
@@ -104,7 +104,7 @@ nf_ct_get_tuple(const struct sk_buff *skb,
|
|
|
const struct nf_conntrack_l3proto *l3proto,
|
|
|
const struct nf_conntrack_l4proto *l4proto)
|
|
|
{
|
|
|
- NF_CT_TUPLE_U_BLANK(tuple);
|
|
|
+ memset(tuple, 0, sizeof(*tuple));
|
|
|
|
|
|
tuple->src.l3num = l3num;
|
|
|
if (l3proto->pkt_to_tuple(skb, nhoff, tuple) == 0)
|
|
@@ -151,7 +151,7 @@ nf_ct_invert_tuple(struct nf_conntrack_tuple *inverse,
|
|
|
const struct nf_conntrack_l3proto *l3proto,
|
|
|
const struct nf_conntrack_l4proto *l4proto)
|
|
|
{
|
|
|
- NF_CT_TUPLE_U_BLANK(inverse);
|
|
|
+ memset(inverse, 0, sizeof(*inverse));
|
|
|
|
|
|
inverse->src.l3num = orig->src.l3num;
|
|
|
if (l3proto->invert_tuple(inverse, orig) == 0)
|