Commit 5d8c0aa9 authored by Committed by David S. Miller
[INET]: Fix accidentally broken inet(6)_hash_connect's port offset calculations.
The port offset calculations depend on the protocol family, but, as Adrian noticed, I broke this logic with the commit 5ee31fc1 [INET]: Consolidate inet(6)_hash_connect. Return this logic back, by passing the port offset directly into the consolidated function. Signed-off-by: Pavel Emelyanov <email@example.com> Noticed-by: Adrian Bunk <firstname.lastname@example.org> Signed-off-by: David S. Miller <email@example.com>
Showing with 5 additions and 5 deletions