1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

Fix crash of ovs-vswitchd with 'add-br' command.

Reference: https://github.com/openvswitch/ovs-issues/issues/152

PR:		229692
Approved by:	Nikola Kolev <koue@chaosophia.net>(maintainer)
Sponsored by:	Orange
This commit is contained in:
Olivier Cochard 2018-07-11 12:42:02 +00:00
parent b6f80e6214
commit 4033a91293
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=474441
2 changed files with 20 additions and 0 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= openvswitch
PORTVERSION= 2.9.2
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://openvswitch.org/releases/

View File

@ -0,0 +1,19 @@
--- lib/netdev-bsd.c.orig 2018-07-11 07:15:18 UTC
+++ lib/netdev-bsd.c
@@ -65,7 +65,6 @@
VLOG_DEFINE_THIS_MODULE(netdev_bsd);
-
struct netdev_rxq_bsd {
struct netdev_rxq up;
@@ -1511,7 +1510,7 @@ netdev_bsd_update_flags(struct netdev *netdev_, enum n
NULL, /* get_carrier_resets */ \
NULL, /* set_miimon_interval */ \
netdev_bsd_get_stats, \
- \
+ NULL, /* get_custom_stats */ \
GET_FEATURES, \
NULL, /* set_advertisement */ \
NULL, /* get_pt_mode */ \