lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1485955803-65065-1-git-send-email-yotamg@mellanox.com>
Date:   Wed,  1 Feb 2017 15:30:00 +0200
From:   Yotam Gigi <yotamg@...lanox.com>
To:     jhs@...atatu.com, davem@...emloft.net, netdev@...r.kernel.org,
        mrv@...atatu.com, eladr@...lanox.com, jiri@...lanox.com
Cc:     Yotam Gigi <yotamg@...lanox.com>
Subject: [PATCH v2 net-next 0/3] Extract IFE logic to module

Extract ife logic from the tc_ife action into an independent module, and
make the tc_ife action use it. This way, the ife encapsulation can be used
by other modules other than tc_ife action.

v1->v2:
Fix duplicate symbol error by introducing a new patch that makes the
original symbol static.

The symbol ife_tlv_meta_extract is exported in act_ife, though not being
used by any other module. As the symbol is being moved to the new ife
module, introducing the new module creates duplicate symbol. To fix it,
add a new patch (1/3) that makes the ife_tlv_meta_extract symbol static in
act_ife, thus the symbol does not collide.

Yotam Gigi (3):
  net/sched: act_ife: Unexport ife_tlv_meta_encode
  net: Introduce ife encapsulation module
  net/sched: act_ife: Change to use ife module

 MAINTAINERS                        |   7 ++
 include/net/ife.h                  |  51 +++++++++++++
 include/net/tc_act/tc_ife.h        |   3 -
 include/uapi/linux/Kbuild          |   1 +
 include/uapi/linux/ife.h           |  18 +++++
 include/uapi/linux/tc_act/tc_ife.h |  10 +--
 net/Kconfig                        |   1 +
 net/Makefile                       |   1 +
 net/ife/Kconfig                    |  16 +++++
 net/ife/Makefile                   |   5 ++
 net/ife/ife.c                      | 142 +++++++++++++++++++++++++++++++++++++
 net/sched/Kconfig                  |   1 +
 net/sched/act_ife.c                | 110 +++++++++-------------------
 13 files changed, 276 insertions(+), 90 deletions(-)
 create mode 100644 include/net/ife.h
 create mode 100644 include/uapi/linux/ife.h
 create mode 100644 net/ife/Kconfig
 create mode 100644 net/ife/Makefile
 create mode 100644 net/ife/ife.c

-- 
2.4.11

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ