CVSROOT: /cvs Module name: src Changes by: ke...@cvs.openbsd.org 2011/09/14 19:51:40
Modified files: sys/dev/pci : if_age.c Log message: Fix up age_encap() / age_start().. - Remove unnecessary nsegs variable from age_encap() and use map->dm_nsegs. Also remove unnecessary FreeBSD check for 0 DMA segments check. - Remove printfs in age_encap() failure paths that shouldn't be there. - Add missing IF_PREPEND() from failure path coming off of age_encap() within age_start(). - Fix error handling within age_encap(). Previously age_encap() was attempting to unload a DMA map upon failure from bus_dmamap_load_mbuf() even though one wasn't loaded at that point and then always forcing mbufs through the EFBIG path. Tested by Thomas Pfaff. >From Brad.