diff --git a/net/netfilter/xt_qtaguid.c b/net/netfilter/xt_qtaguid.c index f6d4cfc05f3..86ca0212bf2 100644 --- a/net/netfilter/xt_qtaguid.c +++ b/net/netfilter/xt_qtaguid.c @@ -1201,7 +1201,7 @@ static struct sock_tag *get_sock_stat(const struct sock *sk) static int ipx_proto(const struct sk_buff *skb, struct xt_action_param *par) { - int thoff, tproto; + int thoff = 0, tproto; switch (par->family) { case NFPROTO_IPV6: