From c94a66f8ae4edcb662c4da5bdb5e306ac087d6a9 Mon Sep 17 00:00:00 2001 From: Sergey Kandaurov Date: Mon, 1 Aug 2011 11:24:55 +0000 Subject: [PATCH] Add missing MODULE_VERSION() definition to protect against duplicating module loads. PR: kern/159345 Reported by: Eugene Grosbein Tested by: Eugene Grosbein Approved by: re (kib) MFC after: 1 week --- sys/net/if_lagg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/net/if_lagg.c b/sys/net/if_lagg.c index d540966ab4cf..6a3eb93e5a57 100644 --- a/sys/net/if_lagg.c +++ b/sys/net/if_lagg.c @@ -208,6 +208,7 @@ static moduledata_t lagg_mod = { }; DECLARE_MODULE(if_lagg, lagg_mod, SI_SUB_PSEUDO, SI_ORDER_ANY); +MODULE_VERSION(if_lagg, 1); #if __FreeBSD_version >= 800000 /*