Module Name:    src
Committed By:   martin
Date:           Thu Aug  1 13:50:14 UTC 2019

Modified Files:
        src/sys/dev/pci [netbsd-8]: if_wm.c if_wmreg.h

Log Message:
Pull up following revision(s) (requested by msaitoh in ticket #1312):

        sys/dev/pci/if_wm.c: revision 1.644
        sys/dev/pci/if_wm.c: revision 1.645
        sys/dev/pci/if_wmreg.h: revision 1.115

 Define RETA_ENTRY_MASK_Q(used in RSS redirection table) correctly.
Found by UBSan.

 Use aprint_debug_dev() instead of printf() in wm_ulp_disable().

- rnd_add_*() call must be serialized. Unserialized accesses broke the
  sc->rnd_source structure and caused off by one in kern_rndq.c's
  rnd_add_data_ts(). This problem was found by kUBSan. Make krndsource_t's
  data per queue-pair and call rnd_add_uint32() in wm_txrxintr_msix(). One of
  the reason why rnd_add_uint32() calls were moved from wm_{tx,rx}eof() is that
  rnd(9) manual page says "To allow the system to gather the timing information
  accurately, this call should be placed within the actual hardware interrupt
  service routine."

- Pass a better value to rnd_add_uint32() in wm_intr_legacy().
XXX pullup-8.


To generate a diff of this commit:
cvs rdiff -u -r1.508.4.33 -r1.508.4.34 src/sys/dev/pci/if_wm.c
cvs rdiff -u -r1.98.6.9 -r1.98.6.10 src/sys/dev/pci/if_wmreg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Reply via email to