Thread (25 messages) 25 messages, 5 authors, 2008-04-02

Re: [PATCH net-2.6.26] netlink: make socket filters work on netlink

From: David Miller <davem@davemloft.net>
Date: 2008-03-31 20:07:57

From: Patrick McHardy <redacted>
Date: Mon, 31 Mar 2008 21:40:51 +0200
Thanks. It seems it parses only top-level attributes, which
is probably why you didn't need the nlattr_find command I
used in my patch. The problem with this is that finding and
parsing nested attributes using the existing BPF commands is
complicated since you need to fully parse netlink headers
and walk through them. You can't even reuse that part for
multiple nested attributes since you can't jump backwards.
So I think it would be preferrable to have a simpler method
for this.
Agreed.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help