linux-bl808/net/openvswitch
Johannes Berg c53ed74236 genetlink: only pass array to genl_register_family_with_ops()
As suggested by David Miller, make genl_register_family_with_ops()
a macro and pass only the array, evaluating ARRAY_SIZE() in the
macro, this is a little safer.

The openvswitch has some indirection, assing ops/n_ops directly in
that code. This might ultimately just assign the pointers in the
family initializations, saving the struct genl_family_and_ops and
code (once mcast groups are handled differently.)

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-11-19 16:39:05 -05:00
..
actions.c openvswitch: Add SCTP support 2013-08-26 14:03:13 -07:00
datapath.c genetlink: only pass array to genl_register_family_with_ops() 2013-11-19 16:39:05 -05:00
datapath.h openvswitch: collect mega flow mask stats 2013-10-22 10:42:46 -07:00
dp_notify.c openvswitch: fix vport-netdev unregister 2013-10-16 14:50:22 -07:00
flow.c openvswitch: TCP flags matching support. 2013-11-01 18:43:45 -07:00
flow.h openvswitch: TCP flags matching support. 2013-11-01 18:43:45 -07:00
flow_netlink.c openvswitch: TCP flags matching support. 2013-11-01 18:43:45 -07:00
flow_netlink.h openvswitch: Restructure datapath.c and flow.c 2013-10-03 18:16:47 -07:00
flow_table.c openvswitch: Use flow hash during flow lookup operation. 2013-11-01 18:43:46 -07:00
flow_table.h openvswitch: collect mega flow mask stats 2013-10-22 10:42:46 -07:00
Kconfig openvswitch: Add SCTP support 2013-08-26 14:03:13 -07:00
Makefile openvswitch: Restructure datapath.c and flow.c 2013-10-03 18:16:47 -07:00
vport-gre.c openvswitch: remove duplicated include from vport-gre.c 2013-09-23 13:36:31 -07:00
vport-internal_dev.c openvswitch: Enable all GSO features on internal port. 2013-11-01 18:17:50 -07:00
vport-internal_dev.h
vport-netdev.c openvswitch: fix vport-netdev unregister 2013-10-16 14:50:22 -07:00
vport-netdev.h openvswitch: fix vport-netdev unregister 2013-10-16 14:50:22 -07:00
vport-vxlan.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/jesse/openvswitch 2013-11-04 16:25:04 -05:00
vport.c openvswitch: Fix argument descriptions in vport.c. 2013-08-23 16:38:00 -07:00
vport.h