diff options
Diffstat (limited to 'include/linux/udp.h')
-rw-r--r-- | include/linux/udp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/udp.h b/include/linux/udp.h index c0f530809d1f..6cb4061a720d 100644 --- a/include/linux/udp.h +++ b/include/linux/udp.h | |||
@@ -115,6 +115,6 @@ static inline bool udp_get_no_check6_rx(struct sock *sk) | |||
115 | #define udp_portaddr_for_each_entry_rcu(__sk, list) \ | 115 | #define udp_portaddr_for_each_entry_rcu(__sk, list) \ |
116 | hlist_for_each_entry_rcu(__sk, list, __sk_common.skc_portaddr_node) | 116 | hlist_for_each_entry_rcu(__sk, list, __sk_common.skc_portaddr_node) |
117 | 117 | ||
118 | #define IS_UDPLITE(__sk) (udp_sk(__sk)->pcflag) | 118 | #define IS_UDPLITE(__sk) (__sk->sk_protocol == IPPROTO_UDPLITE) |
119 | 119 | ||
120 | #endif /* _LINUX_UDP_H */ | 120 | #endif /* _LINUX_UDP_H */ |