[haiku-commits] Re: r34642 - haiku/trunk/src/servers/net

  • From: Jérôme Duval <korli@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 12 Dec 2009 18:32:29 +0100

2009/12/12 Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>:
>
> Why watch for B_ENTRY_MOVED if you are later only interested in
> created/removed events?

No reason: at least I don't see the devfs/driver could rename a device entry.

> Why even bother to test if it exists before?

Sure, we can let the network stack fail on a non configured interface.
I was trying to avoid this case, not needed though.

Bye,
Jérôme

Other related posts: