John Baldwin
6da3131abd
Initialize the if_addr mutex in if_alloc() rather than waiting until
...
if_attach(). This allows ethernet drivers to use it in their routines
to program their MAC filters before ether_ifattach() is called (de(4) is
one such driver). Also, the if_addr mutex is destroyed in if_free()
rather than if_detach(), so there was another potential bug in that a
driver that failed during attach and called if_free() without having
called ether_ifattach() would have tried to destroy an uninitialized mutex.
Reported by: Holm Tiffe holm at freibergnet dot de
Discussed with: rwatson
2005-08-04 14:39:47 +00:00
..
2004-04-07 20:46:16 +00:00
2005-01-07 01:45:51 +00:00
2005-07-26 17:21:56 +00:00
2005-07-11 03:16:23 +00:00
2005-07-24 17:21:17 +00:00
2005-07-03 18:24:03 +00:00
2005-06-10 16:49:24 +00:00
2005-07-06 01:24:45 +00:00
2005-07-05 23:39:51 +00:00
2004-10-05 19:28:52 +00:00
2005-01-07 01:45:51 +00:00
2005-06-10 16:49:24 +00:00
2005-06-10 16:49:24 +00:00
2005-08-02 17:52:52 +00:00
2005-06-10 16:49:24 +00:00
2005-06-10 16:49:24 +00:00
2005-07-18 16:55:46 +00:00
2005-07-25 02:22:37 +00:00
2005-07-06 01:24:45 +00:00
2005-02-24 13:14:41 +00:00
2005-01-07 01:45:51 +00:00
2005-06-26 18:11:11 +00:00
2005-01-07 01:45:51 +00:00
2005-06-10 16:49:24 +00:00
2005-08-02 17:52:52 +00:00
2005-06-26 18:11:11 +00:00
2005-08-02 17:52:52 +00:00
2005-06-10 16:49:24 +00:00
2005-07-25 12:31:43 +00:00
2005-06-10 16:49:24 +00:00
2005-08-01 08:14:21 +00:00
2005-06-10 16:49:24 +00:00
2005-08-02 17:52:52 +00:00
2005-06-05 03:13:13 +00:00
2005-06-26 18:11:11 +00:00
2005-01-07 01:45:51 +00:00
2005-02-22 13:04:05 +00:00
2005-05-06 02:50:00 +00:00
2005-01-07 01:45:51 +00:00
2005-07-05 23:39:51 +00:00
2005-01-07 01:45:51 +00:00
2005-06-10 16:49:24 +00:00
2005-06-10 16:49:24 +00:00
2005-06-10 16:49:24 +00:00
2005-06-10 16:49:24 +00:00
2005-06-10 16:49:24 +00:00
2005-07-25 12:31:43 +00:00
2005-06-26 18:11:11 +00:00
2005-01-07 01:45:51 +00:00
2005-06-10 16:49:24 +00:00
2005-01-07 01:45:51 +00:00
2005-06-10 16:49:24 +00:00
2005-06-26 18:11:11 +00:00
2005-01-07 01:45:51 +00:00
2005-06-10 16:49:24 +00:00
2005-08-02 23:23:26 +00:00
2005-02-18 22:31:19 +00:00
2005-06-10 16:49:24 +00:00
2005-08-04 14:39:47 +00:00
2005-06-05 03:13:13 +00:00
2005-04-13 08:14:14 +00:00
2005-01-11 07:08:15 +00:00
2004-10-11 20:01:43 +00:00
2005-01-07 01:45:51 +00:00
2005-05-23 17:07:16 +00:00
2005-01-07 01:45:51 +00:00
2005-01-07 01:45:51 +00:00
2005-01-07 01:45:51 +00:00
2005-01-07 01:45:51 +00:00
2005-01-07 01:45:51 +00:00
2005-07-01 15:22:47 +00:00
2005-01-07 01:45:51 +00:00
2005-01-07 01:45:51 +00:00
2005-01-24 22:56:09 +00:00
2005-01-07 01:45:51 +00:00
2005-01-07 01:45:51 +00:00
2005-06-28 23:32:22 +00:00
2005-01-07 01:45:51 +00:00
2005-07-15 09:18:34 +00:00
2004-04-07 20:46:16 +00:00
2005-01-07 01:45:51 +00:00
2004-04-07 20:46:16 +00:00
2005-01-07 01:45:51 +00:00
2005-01-07 01:45:51 +00:00