Lawrence Stewart
03f0843bdb
Algorithm modules can define their own private congestion signal types in the
...
top 8 bits of the 32 bit signal bit field space for internal use. These private
signals should not be leaked outside of a module.
Given that many algorithm modules use the NewReno hook functions to simplify
their implementation, the obvious place such a leak would show up is in the
NewReno cong_signal hook function.
- Show the full number of significant bits in the signal type definitions in
<netinet/cc.h>.
- Add a bitmask to simplify figuring out if a given signal is in the private or
public bit range.
- Add a sanity check in newreno_cong_signal() to ensure private signals are not
being leaked into the hook function.
Sponsored by: FreeBSD Foundation
Discussed with: David Hayes <dahayes at swin edu au>
MFC after: 1 week
X-MFC with: r215166
2011-02-01 13:32:27 +00:00
..
2011-02-01 13:32:27 +00:00
2011-01-13 17:02:39 +00:00
2011-01-24 23:08:38 +00:00
2010-11-12 00:44:18 +00:00
2009-06-01 21:17:03 +00:00
2009-06-01 21:17:03 +00:00
2009-06-01 21:17:03 +00:00
2011-02-01 13:32:27 +00:00
2010-04-29 11:52:42 +00:00
2009-08-02 19:43:32 +00:00
2010-12-15 22:58:45 +00:00
2011-01-25 17:15:23 +00:00
2009-09-08 21:17:17 +00:00
2010-11-22 19:32:54 +00:00
2009-06-10 18:12:15 +00:00
2010-10-24 22:02:36 +00:00
2010-04-29 11:52:42 +00:00
2010-04-10 12:05:31 +00:00
2011-01-26 17:31:03 +00:00
2010-03-14 18:59:11 +00:00
2010-08-11 00:51:50 +00:00
2010-11-22 19:32:54 +00:00
2009-07-16 21:13:04 +00:00
2010-11-30 15:57:00 +00:00
2010-09-24 15:01:45 +00:00
2010-11-27 21:51:39 +00:00
2010-11-24 05:24:36 +00:00
2010-08-11 20:18:19 +00:00
2011-01-18 21:14:13 +00:00
2010-01-04 19:01:22 +00:00
2010-04-19 16:17:30 +00:00
2009-12-28 22:56:30 +00:00
2010-12-05 01:09:48 +00:00
2010-11-12 13:05:17 +00:00
2010-03-01 17:05:46 +00:00
2010-03-01 17:05:46 +00:00
2010-11-22 19:32:54 +00:00
2010-04-29 11:52:42 +00:00
2010-11-22 19:32:54 +00:00
2010-11-22 19:32:54 +00:00
2009-11-09 19:53:34 +00:00
2010-11-22 19:32:54 +00:00
2010-06-02 15:44:43 +00:00
2010-10-14 12:32:49 +00:00
2010-12-31 21:47:11 +00:00
2010-09-02 17:43:44 +00:00
2010-02-01 14:13:44 +00:00
2010-06-02 15:44:43 +00:00
2011-01-18 21:14:13 +00:00
2010-12-30 21:32:35 +00:00
2010-09-15 23:10:45 +00:00
2010-09-19 11:42:16 +00:00
2010-01-22 07:53:41 +00:00
2010-12-30 16:56:20 +00:00
2010-05-16 17:03:56 +00:00
2011-01-31 11:50:11 +00:00
2011-01-31 11:50:11 +00:00
2010-11-14 14:37:20 +00:00
2010-08-29 18:50:30 +00:00
2010-11-25 13:39:55 +00:00
2010-11-25 13:39:55 +00:00
2011-01-31 11:50:11 +00:00
2011-01-31 11:50:11 +00:00
2011-01-31 11:50:11 +00:00
2011-01-31 11:50:11 +00:00
2010-06-06 20:34:17 +00:00
2010-11-09 10:59:09 +00:00
2011-01-31 11:50:11 +00:00
2011-01-29 19:55:29 +00:00
2011-01-31 11:50:11 +00:00
2011-01-26 19:49:03 +00:00
2010-08-28 17:59:51 +00:00
2011-01-23 19:36:28 +00:00
2011-01-31 11:50:11 +00:00
2011-01-31 11:50:11 +00:00
2011-01-31 11:50:11 +00:00
2011-01-31 11:50:11 +00:00
2010-11-07 17:50:56 +00:00
2011-01-28 20:49:15 +00:00
2011-01-26 19:55:54 +00:00
2010-04-03 15:40:14 +00:00
2011-01-29 19:55:29 +00:00
2011-01-31 11:50:11 +00:00
2010-11-07 18:50:35 +00:00
2010-11-22 19:32:54 +00:00
2009-06-10 10:39:41 +00:00
2011-01-12 19:53:50 +00:00
2011-01-10 06:12:01 +00:00
2011-01-07 21:40:34 +00:00
2011-01-07 21:40:34 +00:00
2009-08-01 19:26:27 +00:00
2009-07-13 11:51:02 +00:00
2010-12-28 12:13:30 +00:00
2011-01-18 21:14:13 +00:00
2010-12-28 03:27:20 +00:00
2011-01-18 21:14:13 +00:00
2011-01-12 19:53:50 +00:00
2011-01-07 21:40:34 +00:00
2011-01-07 21:40:34 +00:00
2010-09-16 21:06:45 +00:00
2010-11-22 19:32:54 +00:00
2011-01-29 22:11:13 +00:00
2011-01-11 01:32:08 +00:00
2010-11-17 18:55:12 +00:00
2011-01-19 20:57:08 +00:00
2011-01-07 21:40:34 +00:00
2011-01-07 21:40:34 +00:00