Commit 941b1d22 authored by Committed by David S. Miller
[NETNS]: Make bind buckets live in net namespaces.
This tags the inet_bind_bucket struct with net pointer, initializes it during creation and makes a filtering during lookup. A better hashfn, that takes the net into account is to be done in the future, but currently all bind buckets with similar port will be in one hash chain. Signed-off-by: Pavel Emelyanov <firstname.lastname@example.org> Signed-off-by: David S. Miller <email@example.com>
Showing with 13 additions and 5 deletions