Searched hist:172554 (Results 1 - 2 of 2) sorted by relevance

/freebsd-11-stable/sys/net/
H A Dif_lagg.hdiff 172554 Fri Oct 12 01:03:16 MDT 2007 thompsa Fix two panics in lagg.

1. The locking was changed to shared but roundrobin mode still updated a
pointer in the softc with the next tx interface to use. This will panic
under high load. Change this to an atomically incremented sequence number in
order to choose the tx port in round robin.

2. IFQ_HANDOFF will free the mbuf if the queue is full, this will then be freed
again by lagg_start() and panic. Reorganised the error handling and freeing
to fix this.

MFC after: 3 days
H A Dif_lagg.cdiff 172554 Fri Oct 12 01:03:16 MDT 2007 thompsa Fix two panics in lagg.

1. The locking was changed to shared but roundrobin mode still updated a
pointer in the softc with the next tx interface to use. This will panic
under high load. Change this to an atomically incremented sequence number in
order to choose the tx port in round robin.

2. IFQ_HANDOFF will free the mbuf if the queue is full, this will then be freed
again by lagg_start() and panic. Reorganised the error handling and freeing
to fix this.

MFC after: 3 days

Completed in 187 milliseconds