[PATCH v2] netfilter: hash resizing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



this is a slightly updates patch for nft_hash to use RCU resizing. Since
the current implementation is seriously buggy, this should in any case be
an improvement. Testing also works fine.

Changes this v1 posting:

- use vmalloc as fallback for failed kmalloc allocations

- avoid potential overflow in hash expansion and shrinking checks,
  suggested by Josh. Note: I didn't use a shift since gcc properly
  generates that itself.

Please apply. Thanks!
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux