Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752382AbdIWAUT (ORCPT ); Fri, 22 Sep 2017 20:20:19 -0400 Received: from mail-qt0-f182.google.com ([209.85.216.182]:50251 "EHLO mail-qt0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751974AbdIWAUR (ORCPT ); Fri, 22 Sep 2017 20:20:17 -0400 X-Google-Smtp-Source: AOwi7QDOqyvbg0sbsFJ35fEeV6YcJir22esfqt47L1bsPsZtWbgSszid30nmJdyFpNcmfQcR3Q+fnA== From: Josef Bacik To: davem@davemloft.net, netdev@vger.kernel.org, kernel-team@fb.com, linux-kernel@vger.kernel.org Subject: [PATCH 0/3] fix reuseaddr regression Date: Fri, 22 Sep 2017 20:20:05 -0400 Message-Id: <1506126008-9148-1-git-send-email-josef@toxicpanda.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 493 Lines: 11 I introduced a regression when reworking the fastreuse port stuff that allows bind conflicts to occur once a reuseaddr successfully opens on an existing tb. The root cause is I reversed an if statement which caused us to set the tb as if there were no owners on the socket if there were, which obviously is not correct. Dave could you please queue these changes up for -stable, I've run them through the net tests and added another test to check for this problem specifically. Thanks, Josef