Re: [PATCH v2 nf-next] netfilter: nft: add support for native socket matching

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

 



On Wed, May 30, 2018 at 12:20:44PM +0200, Pablo Neira Ayuso wrote:
> On Wed, May 30, 2018 at 12:13:22PM +0200, Máté Eckl wrote:
> > +	if(!sk) {
> > +		nft_reg_store8(dest, 0);
> > +		return;
> > +	}
> > +
> > +	skb->sk = sk; // So that subsequent socket matching not to require other lookups
> 
> Remove this comment.

Or use the more orthodox comment style:

        /* So that subsequent socket matching not to require other lookups. */
	skb->sk = sk;

Thanks!
--
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