datapath: Remove reciprocal_div compat code.
[sliver-openvswitch.git] / datapath / linux / compat / include / net / sock.h
1 #ifndef __NET_SOCK_WRAPPER_H
2 #define __NET_SOCK_WRAPPER_H 1
3
4 #include_next <net/sock.h>
5 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,24)
6 struct net;
7
8 static inline struct net *sock_net(const struct sock *sk)
9 {
10         return NULL;
11 }
12
13 #endif
14
15 #endif /* net/sock.h wrapper */