Fix malformed patch format.
For some reason, the leading spaces were missing.
This commit is contained in:
@@ -4,23 +4,23 @@ index 4a4d3a2..365aa25 100644
|
|||||||
+++ b/datapath/datapath.c
|
+++ b/datapath/datapath.c
|
||||||
@@ -47,6 +47,9 @@
|
@@ -47,6 +47,9 @@
|
||||||
|
|
||||||
#include "compat.h"
|
#include "compat.h"
|
||||||
|
|
||||||
+#ifdef CONFIG_NET_NS
|
+#ifdef CONFIG_NET_NS
|
||||||
+#include <net/net_namespace.h>
|
+#include <net/net_namespace.h>
|
||||||
+#endif
|
+#endif
|
||||||
|
|
||||||
/* Strings to describe the manufacturer, hardware, and software. This data
|
/* Strings to describe the manufacturer, hardware, and software. This data
|
||||||
* is queriable through the switch description stats message. */
|
* is queriable through the switch description stats message. */
|
||||||
@@ -259,7 +262,11 @@ send_openflow_skb(const struct datapath *dp,
|
@@ -259,6 +262,10 @@ send_openflow_skb(const struct datapath *dp,
|
||||||
struct sk_buff *skb, const struct sender *sender)
|
struct sk_buff *skb, const struct sender *sender)
|
||||||
{
|
{
|
||||||
return (sender
|
return (sender
|
||||||
- ? genlmsg_unicast(skb, sender->pid)
|
- ? genlmsg_unicast(skb, sender->pid)
|
||||||
+#ifdef CONFIG_NET_NS
|
+#ifdef CONFIG_NET_NS
|
||||||
+ ? genlmsg_unicast(&init_net, skb, sender->pid)
|
+ ? genlmsg_unicast(&init_net, skb, sender->pid)
|
||||||
+#else
|
+#else
|
||||||
+ ? genlmsg_unicast(skb, sender->pid)
|
+ ? genlmsg_unicast(skb, sender->pid)
|
||||||
+#endif
|
+#endif
|
||||||
: genlmsg_multicast(skb, 0, dp_mc_group(dp), GFP_ATOMIC));
|
: genlmsg_multicast(skb, 0, dp_mc_group(dp), GFP_ATOMIC));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user