+ if (connection_sk->sk_peercred.uid == 0 || connection_sk->sk_peercred.uid == (__u32) -1) {
+ /* Normal case - the peercred on the socket is not set */
+ connection_sk->sk_peercred.gid = connection_sk->sk_peercred.uid = ct->xid[!dir];
+ if (connection_sk->sk_peercred.uid == 0 || connection_sk->sk_peercred.uid == (__u32) -1) {
+ /* Normal case - the peercred on the socket is not set */
+ connection_sk->sk_peercred.gid = connection_sk->sk_peercred.uid = ct->xid[!dir];