datapath: Add ref counting for flows.
[openvswitch] / lib / rtnetlink.c
index 1d302ea635513d62285e9e6ef90b22ea049e7b7c..f5a6df8a1e5b6f05ba0148210d90395af21deca5 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2009 Nicira Networks.
+ * Copyright (c) 2009, 2010 Nicira Networks.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
 #include "coverage.h"
 #include "netlink.h"
 #include "ofpbuf.h"
-
-#define THIS_MODULE VLM_rtnetlink
 #include "vlog.h"
 
+VLOG_DEFINE_THIS_MODULE(rtnetlink)
+
 /* rtnetlink socket. */
 static struct nl_sock *notify_sock;