git: kernel/oce: Fix wrong maxsegs argument for bus_dmamap_load_mbuf_segment().

Sascha Wildner swildner at crater.dragonflybsd.org
Mon Jul 1 14:14:40 PDT 2013


commit d1cb63e7620126c676582e07d0096591619b938c
Author: Sascha Wildner <saw at online.de>
Date:   Mon Jul 1 23:14:09 2013 +0200

    kernel/oce: Fix wrong maxsegs argument for bus_dmamap_load_mbuf_segment().
    
    Mindlessly introduced by me after it was tested by Mihai and led to a
    panic.
    
    I had misunderstood a comment by sephe. OCE_MAX_TX_ELEMENTS is (as the
    name implies) just for the tx path.
    
    Reported-by: Mihai Carabas <mihai.carabas at gmail.com>

Summary of changes:
 sys/dev/netif/oce/oce_if.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d1cb63e7620126c676582e07d0096591619b938c


-- 
DragonFly BSD source repository



More information about the Commits mailing list