kernel/oce: Fix wrong maxsegs argument for bus_dmamap_load_mbuf_segment().
authorSascha Wildner <saw@online.de>
Mon, 1 Jul 2013 21:14:09 +0000 (23:14 +0200)
committerSascha Wildner <saw@online.de>
Mon, 1 Jul 2013 21:14:09 +0000 (23:14 +0200)
commitd1cb63e7620126c676582e07d0096591619b938c
tree152c4547b61f1e945bdf4bba6310afebaf333633
parent44b64581151dc6c20bfd11d7ed6d52f7f1c9b2e8
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>
sys/dev/netif/oce/oce_if.c