Wireshark-commits: [Wireshark-commits] rev 49606: /trunk/ui/cli/ /trunk/ui/cli/: tap-icmpstat.c tap
Date: Tue, 28 May 2013 23:20:45 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=49606

User: eapache
Date: 2013/05/28 04:20 PM

Log:
 In ICMP taps, don't use g_slist_insert_sorted (which results in
 n^2 time on the number of packets). Just prepend to the list, then sort
 it when we actually need to calculate the statistics.
 
 Should fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8721

Directory: /trunk/ui/cli/
  Changes    Path                Action
  +5 -2      tap-icmpstat.c      Modified
  +5 -2      tap-icmpv6stat.c    Modified