See attached patch.

My apologies for this, I forgot to check this back in.

There are no other missing FreeBSD changes.

Darren
*** ip_fil_freebsd.c.orig       Fri Mar 17 21:47:49 2006
--- ip_fil_freebsd.c    Mon Mar 20 06:12:12 2006
***************
*** 480,486 ****
  
        error = fr_ioctlswitch(unit, data, cmd, mode);
        if (error != -1) {
!               RW_EXIT(&ipf_global);
                SPL_X(s);
                return error;
        }
--- 480,486 ----
  
        error = fr_ioctlswitch(unit, data, cmd, mode);
        if (error != -1) {
!               RWLOCK_EXIT(&ipf_global);
                SPL_X(s);
                return error;
        }
***************
*** 622,628 ****
                break;
        }
  
!       RW_EXIT(&ipf_global);
        SPL_X(s);
  
        return error;
--- 622,628 ----
                break;
        }
  
!       RWLOCK_EXIT(&ipf_global);
        SPL_X(s);
  
        return error;

Reply via email to