do {
s = sk_next(s);
- } while (s && !nl_table[s->sk_protocol].compare(net, s));
-+ } while ((s && !nl_table[s->sk_protocol].compare(net, s)) ||
-+ !nx_check(s->sk_nid, VS_WATCH_P | VS_IDENT));
++ } while (s && (!nl_table[s->sk_protocol].compare(net, s) ||
++ !nx_check(s->sk_nid, VS_WATCH_P | VS_IDENT)));
if (s)
return s;
s = sk_head(&hash->table[j]);
- while (s && !nl_table[s->sk_protocol].compare(net, s))
-+ while ((s && !nl_table[s->sk_protocol].compare(net, s)) ||
-+ !nx_check(s->sk_nid, VS_WATCH_P | VS_IDENT))
++ while (s && (!nl_table[s->sk_protocol].compare(net, s) ||
++ !nx_check(s->sk_nid, VS_WATCH_P | VS_IDENT)))
s = sk_next(s);
if (s) {
iter->link = i;