From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7D4E9C432C0 for ; Tue, 26 Nov 2019 12:10:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4928F2075C for ; Tue, 26 Nov 2019 12:10:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="CBAi6zDt" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728247AbfKZMKo (ORCPT ); Tue, 26 Nov 2019 07:10:44 -0500 Received: from us-smtp-1.mimecast.com ([205.139.110.61]:29349 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727598AbfKZMKo (ORCPT ); Tue, 26 Nov 2019 07:10:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1574770243; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=XdvPAnEZou5W6Y0NzuwOjtFzcsiRjYpu1FP7zo1/ZgE=; b=CBAi6zDtD35g1k8hCmJJ7shzNPWMv2xkBmMDZL1eqDneDTDwRINV71pVNN7gScQ/ljD6yz YW1dWxgx7qB/FHA+qFMVvQ28vbfcbzc3P9odxB7twtL52B67vv2pNZm0xFAlPxu+WyYNDG ta7NgQiT2Q1hnONXpjjjekXXpr2gC5Q= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-390-rv6Hf_b5O8yl6XrOO_4glQ-1; Tue, 26 Nov 2019 07:10:42 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 6C9A980183C; Tue, 26 Nov 2019 12:10:41 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-116-191.ams2.redhat.com [10.36.116.191]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7E51A5D9CA; Tue, 26 Nov 2019 12:10:40 +0000 (UTC) From: Paolo Abeni To: netdev@vger.kernel.org Cc: "David S. Miller" , Pravin B Shelar Subject: [PATCH net 0/2] openvswitch: remove a couple of BUG_ON() Date: Tue, 26 Nov 2019 13:10:28 +0100 Message-Id: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-MC-Unique: rv6Hf_b5O8yl6XrOO_4glQ-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org The openvswitch kernel datapath includes some BUG_ON() statements to check = for exceptional/unexpected failures. These patches drop a couple of them, where we can do that without introducing other side effects. Paolo Abeni (2): openvswitch: drop unneeded BUG_ON() in ovs_flow_cmd_build_info() openvswitch: remove another BUG_ON() net/openvswitch/datapath.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) --=20 2.21.0