Edit

IABSD.fr/src/usr.bin

Branch :

  • Show log

    Commit

  • Author : stsp
    Date : 2019-11-26 17:51:33
    Hash : 9b3d3828
    Message : Prevent divide-by zero in tcpbench(1). Found while testing iwm(4). #0 0x000004c27b9051a9 in udp_process_slice (fd=<optimized out>, event=<optimized out>, v_sc=0x4c55279f500) at /usr/src/usr.bin/tcpbench/tcpbench.c:606 606 pps = (sc->udp_slice_pkts * 1000) / since_last; (gdb) p since_last $1 = 0 ok benno@