Re: [PATCH net-next v2 1/4] net/sched: Introduce action ct

2019-06-30 Thread Paul Blakey
On 6/27/2019 10:53 PM, David Miller wrote: > From: Paul Blakey > Date: Thu, 20 Jun 2019 16:42:18 +0300 > >> +struct tcf_ct_params { > ... >> +struct rcu_head rcu; >> + >> +}; > Please get ride of that empty line after the 'rcu' member. > >> +switch (skb->protocol) { >> +case htons(E

Re: [PATCH net-next v2 1/4] net/sched: Introduce action ct

2019-06-27 Thread David Miller
From: Paul Blakey Date: Thu, 20 Jun 2019 16:42:18 +0300 > +struct tcf_ct_params { ... > + struct rcu_head rcu; > + > +}; Please get ride of that empty line after the 'rcu' member. > + switch (skb->protocol) { > + case htons(ETH_P_IP): > + family = NFPROTO_IPV4; > +

[PATCH net-next v2 1/4] net/sched: Introduce action ct

2019-06-20 Thread Paul Blakey
Allow sending a packet to conntrack module for connection tracking. The packet will be marked with conntrack connection's state, and any metadata such as conntrack mark and label. This state metadata can later be matched against with tc classifers, for example with the flower classifier as below.