Reg: redundancy in inet socket

2007-05-25 Thread Tej Parkash
list_for_each_rcu(p, [sock->type]) { answer = list_entry(p, struct inet_protosw, list); /* Check the non-wild match. */ if (protocol == answer->protocol) { if (protocol != IPPROTO_IP) break;

Reg: redundancy in inet socket

2007-05-25 Thread Tej Parkash
list_for_each_rcu(p, inetsw[sock-type]) { answer = list_entry(p, struct inet_protosw, list); /* Check the non-wild match. */ if (protocol == answer-protocol) { if (protocol != IPPROTO_IP)