Message ID | 1409726135-1547-11-git-send-email-mjt@msgid.tls.msk.ru |
---|---|
State | Accepted |
Commit | 70381662aa97b294f3c81a085ed143f37f0ab0cb |
Headers | show
Return-Path: <patchwork-forward+bncBDM4H6PZD4IIT3U2UACRUBBLHM3RY@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pd0-f197.google.com (mail-pd0-f197.google.com [209.85.192.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 726A820C87 for <linaro@patches.linaro.org>; Wed, 3 Sep 2014 06:37:02 +0000 (UTC) Received: by mail-pd0-f197.google.com with SMTP id y10sf47693776pdj.0 for <linaro@patches.linaro.org>; Tue, 02 Sep 2014 23:36:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:date :message-id:in-reply-to:references:cc:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=8ZB4X90NURWRp37sDna065v1VU7+Svn9wNKhOX6CV1Y=; b=iiF2jMwusxkkS0SH2/orVkmM+0UWPAGc5Y/2DbRs34knjYh6NGojWPuJv6vRD3WTeO rXnRp4wLmxz8Xq259E6HxgLf2pM32y7MM8RPwCbb5PNtmqZqY5XLlm2OiM5G6ER7NBKY sOwmeL6UxGGUtuwsxWnUY0IYn6VQRIO8IE47Sn6w0BB33JgKm3z6xVb4Nuar9s43146H HiJdWIc2w8PJkc8IaYkYpBLSrOZXRCdsXNJIoSfpU/G2yhzbM4grhRFRIB+/26+SLRYR ax2iFsGEsZzILKm/5WH1UOp5NaSQb7z5GlAJnxqjJQT6ZcO6aBphDRxiamqiSm/x1hw/ 7IUw== X-Gm-Message-State: ALoCoQnnzoZkB80b4yQqW93UBMexuTqFAUqsG+4tph1axze4Xqhq08s2ZFM0NTMTKj5mROTITQ/T X-Received: by 10.70.96.197 with SMTP id du5mr21954693pdb.3.1409726218020; Tue, 02 Sep 2014 23:36:58 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.100.180 with SMTP id s49ls2498089qge.42.gmail; Tue, 02 Sep 2014 23:36:57 -0700 (PDT) X-Received: by 10.220.182.1 with SMTP id ca1mr33512726vcb.21.1409726217838; Tue, 02 Sep 2014 23:36:57 -0700 (PDT) Received: from mail-vc0-f171.google.com (mail-vc0-f171.google.com [209.85.220.171]) by mx.google.com with ESMTPS id fd7si3232530vcb.71.2014.09.02.23.36.57 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 02 Sep 2014 23:36:57 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.171 as permitted sender) client-ip=209.85.220.171; Received: by mail-vc0-f171.google.com with SMTP id id10so8299134vcb.16 for <patchwork-forward@linaro.org>; Tue, 02 Sep 2014 23:36:57 -0700 (PDT) X-Received: by 10.220.97.5 with SMTP id j5mr33886158vcn.16.1409726217754; Tue, 02 Sep 2014 23:36:57 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.45.67 with SMTP id uj3csp634525vcb; Tue, 2 Sep 2014 23:36:57 -0700 (PDT) X-Received: by 10.140.92.235 with SMTP id b98mr58128956qge.97.1409726217195; Tue, 02 Sep 2014 23:36:57 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id 8si8067189qaw.108.2014.09.02.23.36.57 for <patch@linaro.org> (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 02 Sep 2014 23:36:57 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Received: from localhost ([::1]:42616 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1XP4Bc-0002k1-MB for patch@linaro.org; Wed, 03 Sep 2014 02:36:56 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43823) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <mjt@tls.msk.ru>) id 1XP4AX-0001Sd-2E for qemu-devel@nongnu.org; Wed, 03 Sep 2014 02:35:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <mjt@tls.msk.ru>) id 1XP4AL-0005bX-PM for qemu-devel@nongnu.org; Wed, 03 Sep 2014 02:35:49 -0400 Received: from isrv.corpit.ru ([86.62.121.231]:60538) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <mjt@tls.msk.ru>) id 1XP4AL-0005bC-EG; Wed, 03 Sep 2014 02:35:37 -0400 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 645E14075F; Wed, 3 Sep 2014 10:35:36 +0400 (MSK) Received: from tls.msk.ru (mjt.vpn.tls.msk.ru [192.168.177.99]) by tsrv.corpit.ru (Postfix) with SMTP id 451E46DF; Wed, 3 Sep 2014 10:35:36 +0400 (MSK) Received: (nullmailer pid 1622 invoked by uid 1000); Wed, 03 Sep 2014 06:35:36 -0000 From: Michael Tokarev <mjt@tls.msk.ru> To: qemu-devel@nongnu.org Date: Wed, 3 Sep 2014 10:35:35 +0400 Message-Id: <1409726135-1547-11-git-send-email-mjt@msgid.tls.msk.ru> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1409726135-1547-1-git-send-email-mjt@tls.msk.ru> References: <1409726135-1547-1-git-send-email-mjt@tls.msk.ru> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 86.62.121.231 Cc: qemu-trivial@nongnu.org, Peter Maydell <peter.maydell@linaro.org>, Michael Tokarev <mjt@tls.msk.ru> Subject: [Qemu-devel] [PULL 10/10] slirp: Honour vlan/stack in hostfwd_remove commands X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: mjt@tls.msk.ru X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.171 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 |
diff --git a/net/slirp.c b/net/slirp.c index 647039e..c171119 100644 --- a/net/slirp.c +++ b/net/slirp.c @@ -345,8 +345,7 @@ void net_slirp_hostfwd_remove(Monitor *mon, const QDict *qdict) host_port = atoi(p); - err = slirp_remove_hostfwd(QTAILQ_FIRST(&slirp_stacks)->slirp, is_udp, - host_addr, host_port); + err = slirp_remove_hostfwd(s->slirp, is_udp, host_addr, host_port); monitor_printf(mon, "host forwarding rule for %s %s\n", src_str, err ? "not found" : "removed");