[haiku-commits] Re: haiku: hrev49531 - src/add-ons/kernel/network/stack

  • From: Jérôme Duval <jerome.duval@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 12 Aug 2015 19:08:08 +0200

2015-08-12 15:25 GMT+02:00 <stefano.ceccherini@xxxxxxxxx>:

- // TODO: We acquire also the net_interfaces lock here
- // to avoid a lock inversion in the ipv6 protocol implementation
- // (see ticket #9377).
- // A better solution would be to avoid locking the interface lock
(fLock)
- // when calling the lower layers.
- RecursiveLocker interfacesLocker(sLock);
- RecursiveLocker locker(fLock);
+ RecursiveLocker interfacesLock(sLock);
+

I think you meant interfacesLocker.

Bye,
Jérôme

Other related posts: