datapath: linux2.7 s/pid/portid/g
[cascardo/ovs.git] / datapath / linux / compat / include / linux / rtnetlink.h
index 0a02149..151f823 100644 (file)
@@ -6,7 +6,7 @@
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,25)
 
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19)
-static inline void rtnl_notify(struct sk_buff *skb, u32 pid, u32 group,
+static inline void rtnl_notify(struct sk_buff *skb, u32 portid, u32 group,
                               struct nlmsghdr *nlh, gfp_t flags)
 {
        BUG_ON(nlh != NULL);            /* not implemented */
@@ -23,14 +23,14 @@ static inline void rtnl_set_sk_err(u32 group, int error)
 #endif
 
 /* No 'net' parameter in these versions. */
-#define rtnl_notify(skb, net, pid, group, nlh, flags) \
-                   ((void) rtnl_notify(skb, pid, group, nlh, flags))
+#define rtnl_notify(skb, net, portid, group, nlh, flags) \
+                   ((void) rtnl_notify(skb, portid, group, nlh, flags))
 #define rtnl_set_sk_err(net, group, error) \
                        (rtnl_set_sk_err(group, error))
 #elif LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30)
 /* Make the return type effectively 'void' to match Linux 2.6.30+. */
-#define rtnl_notify(skb, net, pid, group, nlh, flags) \
-       ((void) rtnl_notify(skb, net, pid, group, nlh, flags))
+#define rtnl_notify(skb, net, portid, group, nlh, flags) \
+       ((void) rtnl_notify(skb, net, portid, group, nlh, flags))
 #endif
 
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26)