From 66494352c509a842cfb0a676e55252341b65d333 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sat, 15 Jun 2013 12:18:30 +0200 Subject: [PATCH] backports: use the given parameter in NETLINK_CB_PORTID() NETLINK_CB_PORTID() ignored the given parameter, this was wrong. Signed-off-by: Hauke Mehrtens --- backport/backport-include/linux/netlink.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backport/backport-include/linux/netlink.h b/backport/backport-include/linux/netlink.h index 2058a9082107..521b72e05496 100644 --- a/backport/backport-include/linux/netlink.h +++ b/backport/backport-include/linux/netlink.h @@ -6,10 +6,10 @@ /* this is for patches we apply */ #if LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0) #define netlink_notify_portid(__notify) (__notify->pid) -#define NETLINK_CB_PORTID(__skb) NETLINK_CB(cb->skb).pid +#define NETLINK_CB_PORTID(__skb) NETLINK_CB(__skb).pid #else #define netlink_notify_portid(__notify) (__notify->portid) -#define NETLINK_CB_PORTID(__skb) NETLINK_CB(cb->skb).portid +#define NETLINK_CB_PORTID(__skb) NETLINK_CB(__skb).portid #endif #endif /* __BACKPORT_LINUX_NETLINK_H */ -- 2.30.2