diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-09-28 15:23:31 +0200 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-09-28 15:23:31 +0200 |
commit | 54eca4d85fadbed49b59f504ffcede624c487e92 (patch) | |
tree | c0077ee1aa8159acf64897c4a5c22c1804c82de8 /libdde-linux26/contrib/lib/rwsem-spinlock.c | |
parent | fcaaa9cb56f94e99d50d9680d6caf67d75b518c8 (diff) |
eth-filter: convert to trivfs dynamic classes and buckets
libtrivfs contains two ways of managing more than one port class and
bucket. There is the old way of using a statically allocated array
with explicit length, and the new way with dynamically allocated
vectors.
Converting all users to the new way of handling multiple classes
and/or buckets, we can simplify the code in libtrivfs. In many cases,
the code will be simpler and more expressive for the user.
This also fixes a mild bug. The classes and buckets given to
`trivfs_startup' end up in the dynamic vectors too, making the object
lookup code use the more complicated code path.
* eth-filter/filter.c: Convert to dynamic classes and buckets.
Diffstat (limited to 'libdde-linux26/contrib/lib/rwsem-spinlock.c')
0 files changed, 0 insertions, 0 deletions