X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=datapath%2Fcompat.h;h=2873f0a8ccd7ff060df9a01bca0f7cc8f037a8f9;hb=b3dcb73cc58a7ee089cfaec623818142196e1172;hp=c786b97394fdea82f78f68d83a0a9855415172a8;hpb=07ac71eaa8a2892a0028a27049a51a88b756ea9b;p=sliver-openvswitch.git diff --git a/datapath/compat.h b/datapath/compat.h index c786b9739..2873f0a8c 100644 --- a/datapath/compat.h +++ b/datapath/compat.h @@ -58,14 +58,6 @@ static inline void skb_clear_rxhash(struct sk_buff *skb) #endif } -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,32) -#define GENL_SOCK(net) (genl_sock) -#define SET_NETNSOK -#else -#define GENL_SOCK(net) ((net)->genl_sock) -#define SET_NETNSOK .netnsok = true, -#endif - #ifdef HAVE_PARALLEL_OPS #define SET_PARALLEL_OPS .parallel_ops = true, #else