[ipwave] Patching Linux Kernel with OCB

John Seur <john.seur@gmail.com> Thu, 20 June 2019 13:25 UTC

Return-Path: <john.seur@gmail.com>
X-Original-To: its@ietfa.amsl.com
Delivered-To: its@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4A458120047 for <its@ietfa.amsl.com>; Thu, 20 Jun 2019 06:25:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uwOiFxKAkw47 for <its@ietfa.amsl.com>; Thu, 20 Jun 2019 06:25:14 -0700 (PDT)
Received: from mail-qk1-x741.google.com (mail-qk1-x741.google.com [IPv6:2607:f8b0:4864:20::741]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7BCF512000E for <its@ietf.org>; Thu, 20 Jun 2019 06:25:14 -0700 (PDT)
Received: by mail-qk1-x741.google.com with SMTP id b18so1852266qkc.9 for <its@ietf.org>; Thu, 20 Jun 2019 06:25:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=AN4zU/yhyBC71AISjPWQQG0jScN+91YYuYFd68suFNs=; b=MziDFnCZoxY0yqKjYPVRW69d6uZEBVxEaGAg3sTnsAEa66jAMnGnKDTbMxlP2IjlFJ ktkz+WtDf7Th+XuJ/4149E2FiaTpRF+4AjPFKboM/ghqcGB7yEJmq2+Q2cK0fddtTXMQ o14D8uQ/0WrUT5n/UJk5Ac9asjV0D/SlS2ATXeeXoUW8lJXmDNvvAAQ7lICfLYVrBVKJ +JASjdJbbMZEIPkqveOkvphF3CRTpn0bHU3DXv6GdrbUEaJGlraUJqKZ2I5kXseDKho6 P6pPq2VLqTXbojKy7BB9+0s9ruZUNn7oX2EhBDPsHzxXInPPumjrbVDf4xIjpEUcIpFX ChjA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=AN4zU/yhyBC71AISjPWQQG0jScN+91YYuYFd68suFNs=; b=WCFYPG92I5TOyzUzB56dy8tUHURCwZ3LCelbGaYHcMzvVlVqZPIkYLncStk6neuz0H liFH6Bdi3jB1tTRv1gTdbjk7nDjHZ2s+6HH++0IyNVlnqIUZLretNel515pfFs5fpWpS EV/m7mKPZ0CXemlqtqs1MkF9+j6VFjH5R9IGhnnAQ3XId/XTBOK66NiVPwWrEJ/8Sg/v AUH2GSFSG7leNJdm9fDm78Rs/5jwOIMii12K3ZssMENWNJRb9xU7lJM5S9PUwmB7WqrL lPoeC3JU/LrmgyfbGGCQBbjynTN2qYNhMsNZnsTvEBQUyZWwxXiYXcxS//J+RbTvpS40 XtDQ==
X-Gm-Message-State: APjAAAWuRxG4rxdu7H4KOhknzuS/p3C+x74ijpOQxXuHqtwEBBONR6Q/ KFvKS0nKKW3eueRO9zBTEHI0XrfSq3WcokypuF4Uwo12rCpwqA==
X-Google-Smtp-Source: APXvYqzVe3KDAjfH4WTA1Ss6i+2ZvCuN+rkr7TTyYQZYwv+dJweu1k9H4UBu0p6O1ZsGR0DySD+hDOsv4zJpOC26n6I=
X-Received: by 2002:a37:a9c9:: with SMTP id s192mr105094747qke.335.1561037113329; Thu, 20 Jun 2019 06:25:13 -0700 (PDT)
MIME-Version: 1.0
From: John Seur <john.seur@gmail.com>
Date: Thu, 20 Jun 2019 16:25:01 +0300
Message-ID: <CAM9JMHPbfhNgvDgJP3kMj7VG2DRGa6-t1bbfSrqHeGH62kW1Zg@mail.gmail.com>
To: its@ietf.org
Content-Type: multipart/alternative; boundary="0000000000009f0f19058bc146ce"
Archived-At: <https://mailarchive.ietf.org/arch/msg/its/dTP7e2qH4ST2fEtJMTosXFwHN6E>
Subject: [ipwave] Patching Linux Kernel with OCB
X-BeenThere: its@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IPWAVE - IP Wireless Access in Vehicular Environments WG at IETF <its.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/its>, <mailto:its-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/its/>
List-Post: <mailto:its@ietf.org>
List-Help: <mailto:its-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/its>, <mailto:its-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Jun 2019 13:25:16 -0000

Hello IPWavers,

During the Hackathon@AIS2019 (https://hackathon.internetsummitafrica.org/),
the team in IPWave track (led by Nabil Benamar) was patching the Linux
kernel 4.9.61 with OCB mode and discovered the following bugs in the patch
file (https://drive.google.com/file/d/0BxK6WTQZ97QVWF9tRURjOGhBU2c/view).
  drivers/net/wireless/ath/ath9k/main.c:961:2: error: duplicate case value
  case NL80211_IFTYPE_OCB:
  drivers/net/wireless/ath/ath9k/hw.c:1241:2: error: duplicate case value
  case NL80211_IFTYPE_OCB:

The duplicated lines of code were commented out and the patch file works!