Re: [PATCH] netfilter: xt_socket: Restore mark from full sockets only

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




 		if (info->flags & XT_SOCKET_RESTORESKMARK && !wildcard &&
-		    transparent)
+		    transparent && sk_fullsock(sk))
 			pskb->mark = sk->sk_mark;

 		if (sk != skb->sk)

What about socket_mt6_v1_v2_v3() ?

Thanks.

Hi Eric

I missed that instance. I'll update it in v2.

--
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux