From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cumulusnetworks.com; s=google; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-transfer-encoding; bh=GyNEkN1SbJZ0p314uqjjzUom9Ab1dUUA/y2mQV6Rd2Q=; b=OQ/m1bUCX8IGHxdnpsnc22jazI0W6xLji/kpLH6cYR4DaZ+PoHRrNNVlocUAbGVjFL YGYC7IoUAxmKBBlQPPzrefV4v5dGHVvrPxGVueL+gpmzC0s4Dc1V3K3AJrT4o69G7Kik xYY2M6+eTXiSpEG3bFWLzbkgYQOo5SycXlzi8= Message-ID: <5899CA80.8030108@cumulusnetworks.com> Date: Tue, 07 Feb 2017 05:24:16 -0800 From: Roopa Prabhu MIME-Version: 1.0 References: <1486468006-8080-1-git-send-email-nikolay@cumulusnetworks.com> In-Reply-To: <1486468006-8080-1-git-send-email-nikolay@cumulusnetworks.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Bridge] [PATCH net-next] bridge: tunnel: fix attribute checks in br_parse_vlan_tunnel_info List-Id: Linux Ethernet Bridging List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Nikolay Aleksandrov Cc: netdev@vger.kernel.org, bridge@lists.linux-foundation.org, "David S. Miller" , Colin Ian King On 2/7/17, 3:46 AM, Nikolay Aleksandrov wrote: > These checks should go after the attributes have been parsed otherwise > we're using tb uninitialized. > > Fixes: efa5356b0d97 ("bridge: per vlan dst_metadata netlink support") > Reported-by: Colin Ian King > Signed-off-by: Nikolay Aleksandrov > --- > ouch, am surprised i did not catch this. Thanks Colin and Nikolay. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roopa Prabhu Subject: Re: [PATCH net-next] bridge: tunnel: fix attribute checks in br_parse_vlan_tunnel_info Date: Tue, 07 Feb 2017 05:24:16 -0800 Message-ID: <5899CA80.8030108@cumulusnetworks.com> References: <1486468006-8080-1-git-send-email-nikolay@cumulusnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, bridge@lists.linux-foundation.org, Colin Ian King , "David S. Miller" To: Nikolay Aleksandrov Return-path: Received: from mail-pf0-f182.google.com ([209.85.192.182]:34133 "EHLO mail-pf0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754328AbdBGNYR (ORCPT ); Tue, 7 Feb 2017 08:24:17 -0500 Received: by mail-pf0-f182.google.com with SMTP id e4so33296514pfg.1 for ; Tue, 07 Feb 2017 05:24:17 -0800 (PST) In-Reply-To: <1486468006-8080-1-git-send-email-nikolay@cumulusnetworks.com> Sender: netdev-owner@vger.kernel.org List-ID: On 2/7/17, 3:46 AM, Nikolay Aleksandrov wrote: > These checks should go after the attributes have been parsed otherwise > we're using tb uninitialized. > > Fixes: efa5356b0d97 ("bridge: per vlan dst_metadata netlink support") > Reported-by: Colin Ian King > Signed-off-by: Nikolay Aleksandrov > --- > ouch, am surprised i did not catch this. Thanks Colin and Nikolay.