Re: [PATCH 1/8] networking/fanotify: declare fanotify socket numbers

From
Jamie Lokier <hidden>
Date
2009-09-11 20:46:02
Also in
linux-fsdevel, lkml
Reply to
Eric Paris, 2009-09-11
Eric Paris wrote:
quoted
I would really prefer if you worked on eliminating the problem that
prevents you from using netlink instead.
I'm not really sure if I can, although I'd love to hear input from
someone who knows the netlink code on how I can make it do what I need.
I'm really not duplicating much other than the NLMSG_OK and NLMSG_NEXT
macros.  My code doesn't even use skbs and I'm not savy enough to really
know how I could.  I'm more than willing to work on it if someone can
point me to how it might work.
Let's turn the question around.

Since you're doing lots of non-sockety things, and can't tolerate
dropped packets - why isn't it a character device?  What's the reason
for using a socket at all?

(I'm reminded of /dev/poll, /dev/epoll and /dev/inotify :-)

-- Jamie
Thread (82 messages) 82 messages, 15 authors, last reply 2009-09-23
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help