From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id EA935A0597; Fri, 17 Apr 2020 18:05:21 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BA9281E981; Fri, 17 Apr 2020 18:05:21 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 846431E976 for ; Fri, 17 Apr 2020 18:05:19 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 03HFoL5U000646; Fri, 17 Apr 2020 09:05:18 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pfpt0818; bh=UxJdBV7BZdvTCr0HpZwBIMDI3dNmUQq1IA1l9cr+IoM=; b=UTZvFE41riN26La7B11BQcc2Kbwgv+lT51eG8GprcAre6Ppu01k0G3XGpYv2SAWWAuuD zb7SrqPpsgq3nKW5jqAg9SDBkNuO3FPK4jHQQxX14Tl2ltpuI0JMaHbHHhBKOOqM9+sP nsj6xlMFEC3BSPFRcWTZOrsd+ucukOu9+ONKVJA7qaroAVVuZYpCaOb4fyFaJ0YTrvkD 0SpfGeFft4Yc6T5xlkIz1g/cGvNLoWE06Zq/L6aVys1x8RDGVkLvs1nI8/62P2hnyicD Lvt1NRdDAs4i8hpE7mHvXANU94TTEjrCh0oIC+8PC6+sCWIbUQjByVwjxiqS/km5UQwW IA== Received: from sc-exch01.marvell.com ([199.233.58.181]) by mx0b-0016f401.pphosted.com with ESMTP id 30dn84vupt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Fri, 17 Apr 2020 09:05:18 -0700 Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 17 Apr 2020 09:05:15 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.169) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Fri, 17 Apr 2020 09:05:15 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nwkr77LmNUx48FS9NCGoAsB6AJYEDSTGRUSUV+3Y3OZloKQmPxMbBRaQizuS6xoRyqKpJUYj/8hITeAOa9qX/yi/RLQE3uviLODyWGYUpU1BQZlWujyxGptB5XnxC/hiwzRN2a1IZNR+/mVbNye9vnBxwhvO10q/9vupNfpC04rXAM6fEPIBlL+a0sMIRGSGzxKxVGpxjRLRaiILWePs+zkm2vZh0TnawvwRLUL/DxEogMY7Y5i7gmcFDo3uk1N8DH+IbdsSoF1RfcPI+y3GzG/aP+AWlCyNFmhJNil51uwhTKX+xXUStoNOK0k5LwmMVkxgPbnVFYzeFcdiJFRRzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UxJdBV7BZdvTCr0HpZwBIMDI3dNmUQq1IA1l9cr+IoM=; b=UdA5Wos7Ih1yj8P3PSuf9/2gpObMJk6f2MmXhQDXahv2tkqTUwMBU44rBGctJ0khqaqAQO1UkeRRECowmjA9m2dXVfzr0Vux2BhR2N2IrRAlCT1WpQtY7eD8RnAYxolo1W5gDYcWC6VcWOL70enQCQ9LOXKz5XGkntfh0G8iaGgGYrJWhMJkvm2fAEUV9KlTBLtPUKxCaU0T/M36OrRZtdtYkATU2ZAMBQNfgPowydRSrbKg6JPausrgF+dqvgNx6wQv3+lFCXRpfCZ3z0OVt+FwF4PF+dwsW0KGt5gmAIY055NVsy5dpbNqzboGCNJm7E5Nc7UFwrSkoL+clE5lOw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UxJdBV7BZdvTCr0HpZwBIMDI3dNmUQq1IA1l9cr+IoM=; b=paR+h1oHjlq1CqXUbvGn1AIzVPbj4XkBtEEm9ZVUib23HFD90qtnmQA2+VMv0the+4eRA7orCVAq0QicHiUDrmRai3qySBdqKtUYjejFTIbS9sOfcoyaXGeDSOpV8uCbuT9mP/0cKAjD426yJUJ7fUB87qKsHX0/5CfugtZiHD8= Received: from MN2PR18MB2877.namprd18.prod.outlook.com (2603:10b6:208:3b::26) by MN2PR18MB3408.namprd18.prod.outlook.com (2603:10b6:208:165::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2900.24; Fri, 17 Apr 2020 16:05:14 +0000 Received: from MN2PR18MB2877.namprd18.prod.outlook.com ([fe80::648f:e7fa:f95e:191b]) by MN2PR18MB2877.namprd18.prod.outlook.com ([fe80::648f:e7fa:f95e:191b%2]) with mapi id 15.20.2921.027; Fri, 17 Apr 2020 16:05:14 +0000 From: Anoob Joseph To: Ankur Dwivedi , "dev@dpdk.org" CC: "Lukas Bartosik [C]" , Ankur Dwivedi , "akhil.goyal@nxp.com" Thread-Topic: [PATCH 2/2] examples/ipsec-secgw: check return value of function Thread-Index: AQHWFM7djJmKHm//fkeC3cQN5ZHT7Kh9eefw Date: Fri, 17 Apr 2020 16:05:14 +0000 Message-ID: References: <1587138115-13149-1-git-send-email-adwivedi@marvell.com> <1587138115-13149-2-git-send-email-adwivedi@marvell.com> In-Reply-To: <1587138115-13149-2-git-send-email-adwivedi@marvell.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [111.125.192.39] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 912ac9b0-ca23-4023-1f20-08d7e2e91d98 x-ms-traffictypediagnostic: MN2PR18MB3408: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1850; x-forefront-prvs: 0376ECF4DD x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR18MB2877.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10009020)(4636009)(136003)(39860400002)(366004)(346002)(396003)(376002)(64756008)(66556008)(26005)(66946007)(76116006)(66476007)(66446008)(8936002)(7696005)(55236004)(86362001)(8676002)(33656002)(6506007)(478600001)(4326008)(186003)(81156014)(52536014)(54906003)(2906002)(71200400001)(558084003)(316002)(5660300002)(55016002)(110136005)(9686003); DIR:OUT; SFP:1101; received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: XzKIZ1BPW3NLB+gUDPAcAq36fwcNv79xD+Ns1Nm4GjLLZiAGqmaqfqzsHJp8jR31q7Z0zuUmBerwrY9ErhuLIv7aKaGlptFgdMocxoJ66BH9Q/F6C4FPWfCB2GyxSEfAD3RN23NAwrwoZk9axTmiU6qQ3fWtB03bpvybJkXS4LGCCNnYKVWlArEm8r7ykGZAe6olpdOUsqIA16esREuPRsTYvfbHNJS+cO5DWtV2qlU9ieC8HuTeiJQiNPrGGcejI4sK188UE2K41nVRQAGWrNE6iP0+lNL5xpreRrjFkSg6F1QPvSSp0ole2JSJ609VZAOdn6iWX5DArkPd+f0AkgobgrB63gAQSm/uX7wRtWBLjGUebhObyl5L+g3pXw4j5uCs8DHVmcjqVcpcRnr72gDtObLYMVl3ipKMY4XO5+DqVKd5pWA2MxnGY6KqPBWJ x-ms-exchange-antispam-messagedata: CFLwNAQfPtSmk2AI1sBKvcH3x/ljGakVBnq/hrz1fdmXtP/zPnW4Ho3onyY9E6Tqbazhxweo9w6X7MV8gwMedGbiKiqmQEr3VtVzZHBGnZySXsG5cLZQP8qScBPYZtzN2x8fEhUyppDFCFce4OCOCQ== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 912ac9b0-ca23-4023-1f20-08d7e2e91d98 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Apr 2020 16:05:14.5701 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: uV/FOIMKjfuW0v7p+KPdIrbTnH1Gfr5LTgCl7E55Meaqlp5fkyFXsppJhq9tQq2tLNhDzBjlLg5viPeAhOvTTQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR18MB3408 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.676 definitions=2020-04-17_07:2020-04-17, 2020-04-17 signatures=0 Subject: Re: [dpdk-dev] [PATCH 2/2] examples/ipsec-secgw: check return value of function X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" >=20 > The return values of functions are checked before proceeding further. >=20 > Coverity Issues: 355670, 355671, 355672, 355673 > Fixes: ec3cc53f5a66 ("examples/ipsec-secgw: support internal ports for ev= ents" >=20 > Signed-off-by: Ankur Dwivedi Acked-by: Anoob Joseph