Skip to content

Commit

Permalink
datapath: backport: openvswitch: use alias for genetlink family names
Browse files Browse the repository at this point in the history
Upstream commit:
    commit ed227099dac95128e2aecd62af51bb9d922e5977
    Author: Thadeu Lima de Souza Cascardo <[email protected]>
    Date:   Fri Sep 9 17:42:30 2016 -0300

    openvswitch: use alias for genetlink family names

    When userspace tries to create datapaths and the module is not loaded,
    it will simply fail. With this patch, the module will be automatically
    loaded.

    Signed-off-by: Thadeu Lima de Souza Cascardo <[email protected]>
    Acked-by: Pravin B Shelar <[email protected]>
    Signed-off-by: David S. Miller <[email protected]>

Signed-off-by: Thadeu Lima de Souza Cascardo <[email protected]>
Signed-off-by: Jesse Gross <[email protected]>
  • Loading branch information
Thadeu Lima de Souza Cascardo authored and jessegross committed Sep 16, 2016
1 parent 16cf531 commit 75e2077
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions datapath/datapath.c
Original file line number Diff line number Diff line change
Expand Up @@ -2458,3 +2458,7 @@ module_exit(dp_cleanup);
MODULE_DESCRIPTION("Open vSwitch switching datapath");
MODULE_LICENSE("GPL");
MODULE_VERSION(VERSION);
MODULE_ALIAS_GENL_FAMILY(OVS_DATAPATH_FAMILY);
MODULE_ALIAS_GENL_FAMILY(OVS_VPORT_FAMILY);
MODULE_ALIAS_GENL_FAMILY(OVS_FLOW_FAMILY);
MODULE_ALIAS_GENL_FAMILY(OVS_PACKET_FAMILY);

0 comments on commit 75e2077

Please sign in to comment.