From: Pavel Emelyanov Date: Tue, 17 Jun 2008 00:11:50 +0000 (-0700) Subject: udp: introduce a udp_hashfn function X-Git-Tag: v2.6.27-rc1~969^2~323 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6266281f8175e3ad68c28b20a609b278b47ade5;p=pandora-kernel.git udp: introduce a udp_hashfn function Currently the chain to store a UDP socket is calculated with simple (x & (UDP_HTABLE_SIZE - 1)). But taking net into account would make this calculation a bit more complex, so moving it into a function would help. Signed-off-by: Pavel Emelyanov Signed-off-by: David S. Miller --- Reading git-diff-tree failed