From: Luigi Rizzo Date: Sun, 17 Aug 2014 10:36:09 +0000 (-0700) Subject: uid/gid workaround to build on linux 3.13 -- not a proper fix X-Git-Url: http://git.onelab.eu/?p=ipfw-google.git;a=commitdiff_plain;h=67da64d6e70f62c107b3839aaf09fd1543c5e6ec uid/gid workaround to build on linux 3.13 -- not a proper fix --- diff --git a/kipfw/ipfw2_mod.c b/kipfw/ipfw2_mod.c index d0824ce..73c79c8 100644 --- a/kipfw/ipfw2_mod.c +++ b/kipfw/ipfw2_mod.c @@ -743,8 +743,8 @@ linux_lookup(const int proto, const __be32 saddr, const __be16 sport, if ((1<sk_callback_lock); if (sk->sk_socket && sk->sk_socket->file) { - u->uid = sk->sk_socket->file->_CURR_UID; - u->gid = sk->sk_socket->file->_CURR_GID; + //u->uid = sk->sk_socket->file->_CURR_UID; + //u->gid = sk->sk_socket->file->_CURR_GID; } read_unlock_bh(&sk->sk_callback_lock); } else {