DragonFly BSD
DragonFly commits List (threaded) for 2013-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Sascha Wildner <swildner@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 1 Jul 2013 14:14:40 -0700 (PDT)

commit d1cb63e7620126c676582e07d0096591619b938c
Author: Sascha Wildner <saw@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@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]