[ovs-git] [openvswitch/ovs] e515e6: datapath: make generic netlink group const

gvrose8192 noreply at github.com
Mon Dec 2 22:38:12 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: e515e66a1900feffd4af08c2596fb8d59b07ddd6
      https://github.com/openvswitch/ovs/commit/e515e66a1900feffd4af08c2596fb8d59b07ddd6
  Author: Greg Rose <gvrose8192 at gmail.com>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M datapath/datapath.c
    M datapath/datapath.h

  Log Message:
  -----------
  datapath: make generic netlink group const

Upstream commit:
    commit 48e48a70c08a8a68f8697f8b30cb83775bda8001
    Author: stephen hemminger <stephen at networkplumber.org>
    Date:   Wed Jul 16 11:25:52 2014 -0700

    openvswitch: make generic netlink group const

    Generic netlink tables can be const.

    Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
    Signed-off-by: David S. Miller <davem at davemloft.net>

The equivalent tables in meter.c and conntrack.c are constified so
it should be safe to do the same for these and will improve
security as well.

Original patch slightly modified for out of tree module.

Passes check-kmod.
Passes Travis.
https://travis-ci.org/gvrose8192/ovs-experimental/builds/616880002

Cc: Stephen Hemminger <stephen at networkplumber.org>
Signed-off-by: Greg Rose <gvrose8192 at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list