Forgot one line: don't try to match flags when looking for a flow.

Approved-by: jordan
This commit is contained in:
Luigi Rizzo 2000-02-11 13:23:14 +00:00
parent cb840fc730
commit f42c0d553a

View File

@ -467,6 +467,7 @@ find_queue(struct dn_pipe *pipe)
last_pkt.dst_port &= pipe->flow_mask.dst_port ;
last_pkt.src_port &= pipe->flow_mask.src_port ;
last_pkt.proto &= pipe->flow_mask.proto ;
last_pkt.flags = 0 ; /* we don't care about this one */
/* then, hash function */
i = ( (last_pkt.dst_ip) & 0xffff ) ^
( (last_pkt.dst_ip >> 15) & 0xffff ) ^