Thu, Jul 26, 2018 at 12:06:14PM CEST, j...@resnulli.us wrote:
>Thu, Jul 26, 2018 at 09:38:39AM CEST, j...@resnulli.us wrote:
>>Wed, Jul 25, 2018 at 06:40:44PM CEST, xiyou.wangc...@gmail.com wrote:
>>>On Tue, Jul 24, 2018 at 11:49 PM Jiri Pirko wrote:
Wed, Jul 25, 2018 at 01:20:08AM CEST,
Thu, Jul 26, 2018 at 09:38:39AM CEST, j...@resnulli.us wrote:
>Wed, Jul 25, 2018 at 06:40:44PM CEST, xiyou.wangc...@gmail.com wrote:
>>On Tue, Jul 24, 2018 at 11:49 PM Jiri Pirko wrote:
>>>
>>> Wed, Jul 25, 2018 at 01:20:08AM CEST, xiyou.wangc...@gmail.com wrote:
>>> >So, you only send out notific
Wed, Jul 25, 2018 at 06:40:44PM CEST, xiyou.wangc...@gmail.com wrote:
>On Tue, Jul 24, 2018 at 11:49 PM Jiri Pirko wrote:
>>
>> Wed, Jul 25, 2018 at 01:20:08AM CEST, xiyou.wangc...@gmail.com wrote:
>> >So, you only send out notification when the last refcnt is gone.
>> >
>> >If the chain that is b
On Tue, Jul 24, 2018 at 11:49 PM Jiri Pirko wrote:
>
> Wed, Jul 25, 2018 at 01:20:08AM CEST, xiyou.wangc...@gmail.com wrote:
> >So, you only send out notification when the last refcnt is gone.
> >
> >If the chain that is being deleted by a user is still used by an action,
> >you return 0 or -EPERM
Wed, Jul 25, 2018 at 01:20:08AM CEST, xiyou.wangc...@gmail.com wrote:
>On Tue, Jul 24, 2018 at 3:30 PM Cong Wang wrote:
>>
>> On Mon, Jul 23, 2018 at 12:25 AM Jiri Pirko wrote:
>> > + switch (n->nlmsg_type) {
>> > + case RTM_NEWCHAIN:
>> > + /* In case the chain was succ
On Tue, Jul 24, 2018 at 3:30 PM Cong Wang wrote:
>
> On Mon, Jul 23, 2018 at 12:25 AM Jiri Pirko wrote:
> > + switch (n->nlmsg_type) {
> > + case RTM_NEWCHAIN:
> > + /* In case the chain was successfully added, take a
> > reference
> > +* to the chain. T
On Mon, Jul 23, 2018 at 12:25 AM Jiri Pirko wrote:
> + switch (n->nlmsg_type) {
> + case RTM_NEWCHAIN:
> + /* In case the chain was successfully added, take a reference
> +* to the chain. This ensures that an empty chain
> +* does not disap
From: Jiri Pirko
Allow user to create, destroy, get and dump chain objects. Do that by
extending rtnl commands by the chain-specific ones. User will now be
able to explicitly create or destroy chains (so far this was done only
automatically according the filter/act needs and refcounting). Also, t