Christian S.J. Peron
50ed6e0713
Make sure that we refresh the PID on read(2) and write(2) operations.
...
This fixes the process portion of the bpf(4) stats if the peer forks
into the background after it's opened the descriptor. This bug
results in the following behavior for netstat -B:
# netstat -B
Pid Netif Flags Recv Drop Match Sblen Hblen Command
netstat: kern.proc.pid failed: No such process
78023 em0 p--s-- 2237404 43119 2237404 13986 0 ??????
MFC after: 1 week
2007-10-12 14:58:34 +00:00
..
2007-09-13 09:00:32 +00:00
2007-10-12 14:58:34 +00:00
2007-02-26 22:24:14 +00:00
2007-08-06 14:26:03 +00:00
2007-08-18 12:06:13 +00:00
2007-08-04 21:09:04 +00:00
2006-10-22 11:52:19 +00:00
2007-05-29 12:40:45 +00:00
2007-07-05 09:18:57 +00:00
2007-07-05 09:18:57 +00:00
2006-12-01 22:45:43 +00:00
2007-09-16 21:09:15 +00:00
2007-08-01 00:33:52 +00:00
2006-07-09 06:04:01 +00:00
2006-07-09 06:04:01 +00:00
2007-03-26 09:10:28 +00:00
2007-03-26 09:05:10 +00:00
2006-12-29 13:59:50 +00:00
2007-09-14 06:57:28 +00:00
2006-08-04 21:27:40 +00:00
2006-10-22 11:52:19 +00:00
2007-06-05 14:15:45 +00:00
2006-10-22 11:52:19 +00:00
2007-06-26 23:01:01 +00:00
2006-10-22 11:52:19 +00:00
2007-10-12 03:03:16 +00:00
2007-10-12 03:03:16 +00:00
2006-12-01 17:50:11 +00:00
2007-02-09 00:09:35 +00:00
2007-09-18 20:30:40 +00:00
2007-07-02 15:44:30 +00:00
2006-12-05 18:54:21 +00:00
2006-11-06 13:42:10 +00:00
2007-06-10 04:53:13 +00:00
2007-09-23 17:50:17 +00:00
2007-03-19 18:17:31 +00:00
2006-09-27 19:57:02 +00:00
2007-02-05 11:15:52 +00:00
2007-06-13 14:01:43 +00:00
2007-05-16 18:37:37 +00:00
2007-02-28 22:05:30 +00:00
2007-03-19 18:01:39 +00:00
2007-07-27 11:59:57 +00:00
2007-06-11 20:08:11 +00:00
2007-08-06 14:26:03 +00:00
2007-06-08 12:43:25 +00:00
2007-07-03 12:13:45 +00:00
2006-12-05 18:54:21 +00:00
2006-06-02 08:27:15 +00:00
2006-11-06 13:42:10 +00:00
2007-06-11 12:19:34 +00:00
2007-09-08 19:28:45 +00:00