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 <firstname.lastname@example.org> Noticed-by: Adrian Bunk <email@example.com> Signed-off-by: David S. Miller <firstname.lastname@example.org>
Showing with 5 additions and 5 deletions