1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-28 11:57:28 +00:00
freebsd/sys
Konstantin Belousov 316d90a37b Move the check for the snp device being already attached after the
fget() call, that is sleeping point, and possibly dropping Giant.

The snp_target == NULL implies the snp_tty == NULL. Remove the code
that is put under snp_target == NULL and snp_tty != NULL clause.

In snpclose(), do the snp_detach() before scheduling the snp device
destruction. Otherwise, after the return from snpclose(), the snp
device is already removed from the snp_list, but tty is still in
snooped state. Any attempt to do i/o on such tty cause panic because
ttytosnp() returns NULL.

Tested by:	Peter Holm
MFC after:	1 week
2007-12-24 13:47:16 +00:00
..
amd64 Add the 'hptrr' driver for supporting the following Highpoint RocketRAID 2007-12-15 00:56:17 +00:00
arm - Fix a typo in comments. 2007-12-23 23:31:27 +00:00
boot - remove code from oroginal file, which is not required on BWCT boards 2007-12-23 14:57:35 +00:00
bsm
cam Add a missing mutex unlock. 2007-12-16 07:49:44 +00:00
cddl Remove some compatibility stuff that we now get from the Solaris header. 2007-11-29 00:15:08 +00:00
compat Bah, remove last vestiges of some statfs conversion fixes that aren't quite 2007-12-10 19:42:23 +00:00
conf Redefine bus_space_tag_t on PowerPC from a 32-bit integral to 2007-12-19 18:00:50 +00:00
contrib * Check endianness the FreeBSD way. 2007-11-28 22:16:00 +00:00
crypto
ddb
dev Move the check for the snp device being already attached after the 2007-12-24 13:47:16 +00:00
fs Fix calculation of descriptor tag checksums. According to ECMA-167, Part 4, 2007-12-11 19:49:40 +00:00
gdb
geom Various fixes: 2007-12-24 01:01:59 +00:00
gnu
i4b
i386 More properly handle links who only have 1 valid IRQ in their bitmask. The 2007-12-21 16:53:27 +00:00
ia64 Add stubs to unbreak LINT. 2007-12-07 13:45:47 +00:00
isa
kern give thread0 the tid 100000 and bumpt the others to start at 100001 2007-12-22 04:56:48 +00:00
libkern
modules Don't overload tcp_usrreqs unless the kernel doesn't provide offload support. 2007-12-18 23:00:25 +00:00
net Remove trailing whitespace from lines in BPF. 2007-12-23 14:10:33 +00:00
net80211 update channel flag defs to match _ieee80211.h so cpp doesn't complain 2007-12-13 01:23:40 +00:00
netatalk Annotate two possible bugs in a comment: (1) we allocate and explicitly 2007-11-20 18:50:54 +00:00
netatm
netgraph Add option to set packets per second limits instead of default 2007-12-19 22:50:14 +00:00
netinet When IPSEC fails to allocate policy state for an inpcb, and MAC is in use, 2007-12-22 10:06:11 +00:00
netinet6 Fix leaking MAC labels for IPv6 inpcbs by adding missing MAC label 2007-12-17 17:20:57 +00:00
netipsec Add sysctls to if_enc(4) to control whether the firewalls or 2007-11-28 22:33:53 +00:00
netipx
netnatm
netncp Refactor select to reduce contention and hide internal implementation 2007-12-16 06:21:20 +00:00
netsmb Refactor select to reduce contention and hide internal implementation 2007-12-16 06:21:20 +00:00
nfs
nfs4client
nfsclient Remove hacks from the NFSv2/3 client intended to handle a lack of a 2007-11-19 16:03:21 +00:00
nfsserver
opencrypto
pc98 Catch up pc98 for i386 stack(9) changes: 2007-12-03 11:38:28 +00:00
pccard
pci Add another RTL8168 revision 3 which is found on RTL8111-GR Gigabit 2007-12-08 00:14:09 +00:00
powerpc Apply missing s/rv/res/g in previous commit. 2007-12-21 00:23:23 +00:00
rpc
security Fix a MAC label leak for POSIX semaphores, in which per-policy labels 2007-12-17 17:26:32 +00:00
sparc64 Add stubs to unbreak LINT. 2007-12-07 13:45:47 +00:00
sun4v Add stubs to unbreak LINT. 2007-12-07 13:45:47 +00:00
sys Add SB_NOCOALESCE flag to disable socket buffer update in place 2007-12-17 10:02:01 +00:00
tools
ufs Fix a broken check that recently became more annoying because it now 2007-12-01 13:12:43 +00:00
vm Update the comment describing vm_phys_unfree_page(). 2007-12-21 02:44:31 +00:00
Makefile