glebius
a4a6b8f0c4
Fix ng_ksocket(4) operation as a divert socket, which is pretty useful
...
and has been broken twice:
- in the beginning of div_output() replace KASSERT with assignment, as
it was in rev. 1.83. [1] [to be MFCed]
- refactor changes introduced in rev. 1.100: do not prepend a new tag
unconditionally. Before doing this check whether we have one. [2]
A small note for all hacking in this area:
when divert socket is not a real userland, but ng_ksocket(4), we receive
_the same_ mbufs, that we transmitted to socket. These mbufs have rcvif,
the tags we've put on them. And we should treat them correctly.
Discussed with: mlaier [1]
Silence from: green [2]
Reviewed by: maxim
Approved by: julian (mentor)
MFC after: 1 week
2004-11-12 22:17:42 +00:00
..
2004-10-24 15:33:08 +00:00
2004-05-30 20:27:19 +00:00
2004-06-14 18:16:22 +00:00
2004-04-07 20:46:16 +00:00
2004-08-16 18:32:07 +00:00
2004-08-16 18:32:07 +00:00
2004-08-16 18:32:07 +00:00
2004-10-26 03:31:58 +00:00
2004-04-07 20:46:16 +00:00
2004-04-07 20:46:16 +00:00
2004-06-11 03:42:37 +00:00
2004-08-16 18:32:07 +00:00
2004-04-07 20:46:16 +00:00
2004-06-18 02:04:07 +00:00
2003-10-07 17:46:18 +00:00
2004-10-18 22:19:43 +00:00
2004-10-19 14:34:13 +00:00
2004-10-19 21:14:57 +00:00
2003-11-20 20:07:39 +00:00
2004-04-07 20:46:16 +00:00
2004-10-19 21:06:14 +00:00
2004-11-12 20:53:51 +00:00
2004-10-19 20:59:01 +00:00
2004-04-07 20:46:16 +00:00
2004-11-12 22:17:42 +00:00
2004-10-19 21:14:57 +00:00
2004-08-25 09:31:30 +00:00
2004-08-17 22:05:54 +00:00
2003-10-29 15:07:04 +00:00
2003-10-29 15:07:04 +00:00
2004-03-10 02:48:50 +00:00
2004-11-09 09:40:32 +00:00
2004-11-02 22:22:22 +00:00
2004-10-19 21:14:57 +00:00
2004-10-03 00:47:15 +00:00
2004-08-16 18:32:07 +00:00
2004-09-15 20:13:26 +00:00
2004-04-07 20:46:16 +00:00
2004-08-16 18:32:07 +00:00
2004-10-19 15:45:57 +00:00
2004-10-07 14:13:35 +00:00
2004-08-16 18:32:07 +00:00
2004-09-29 04:54:33 +00:00
2004-10-19 15:45:57 +00:00
2004-04-07 20:46:16 +00:00
2004-04-07 20:46:16 +00:00
2003-08-07 18:17:43 +00:00
2004-03-08 07:45:32 +00:00
2004-11-08 14:44:54 +00:00
2004-04-07 20:46:16 +00:00
2004-08-16 18:32:07 +00:00
2004-04-07 20:46:16 +00:00
2004-11-02 22:22:22 +00:00
2004-11-07 19:19:35 +00:00
2004-11-02 22:22:22 +00:00
2004-11-07 19:19:35 +00:00
2004-10-26 08:59:09 +00:00
2004-11-02 22:22:22 +00:00
2004-11-08 18:49:51 +00:00
2004-11-02 22:22:22 +00:00
2004-11-02 22:22:22 +00:00
2004-08-16 18:32:07 +00:00
2004-11-08 18:49:51 +00:00
2004-11-08 14:44:54 +00:00
2004-11-02 22:22:22 +00:00
2004-11-02 22:22:22 +00:00
2004-08-16 18:32:07 +00:00
2004-11-08 14:44:54 +00:00
2004-08-16 18:32:07 +00:00
2004-04-07 20:46:16 +00:00