mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 23:25:48 +00:00
Optimized the function of fill_connection_key.
Remove some unnecessary code to improve the performance of the filter-rewriter module. Signed-off-by: Lei Rao <lei.rao@intel.com> Reviewed-by: Zhang Chen <chen.zhang@intel.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Juan Quintela <quintela@trasno.org>
This commit is contained in:
@ -264,7 +264,7 @@ static int packet_enqueue(CompareState *s, int mode, Connection **con)
|
||||
pkt = NULL;
|
||||
return -1;
|
||||
}
|
||||
fill_connection_key(pkt, &key);
|
||||
fill_connection_key(pkt, &key, false);
|
||||
|
||||
conn = connection_get(s->connection_track_table,
|
||||
&key,
|
||||
|
Reference in New Issue
Block a user