summaryrefslogtreecommitdiffstats
path: root/net/ipv4/ip_fragment.c
diff options
context:
space:
mode:
authorLi Zefan2008-06-28 05:03:24 +0200
committerDavid S. Miller2008-06-28 05:03:24 +0200
commita0a61a604c60c14accc3962ecfeee9acc7a3c08a (patch)
tree45b9922479d2527e641b59fdbb4970ba942f3e0d /net/ipv4/ip_fragment.c
parentnetlink: Fix some doc comments in net/netlink/attr.c (diff)
downloadkernel-qcow2-linux-a0a61a604c60c14accc3962ecfeee9acc7a3c08a.tar.gz
kernel-qcow2-linux-a0a61a604c60c14accc3962ecfeee9acc7a3c08a.tar.xz
kernel-qcow2-linux-a0a61a604c60c14accc3962ecfeee9acc7a3c08a.zip
CONNECTOR: add a proc entry to list connectors
I got a problem when I wanted to check if the kernel supports process event connector, and It seems there's no way to do this check. At best I can check if the kernel supports connector or not, by looking into /proc/net/netlink, or maybe checking the return value of bind() to see if it's ENOENT. So it would be useful to add /proc/net/connector to list all supported connectors: # cat /proc/net/connector Name ID connector 4294967295:4294967295 cn_proc 1:1 w1 3:1 Changelog: - fix memory leak: s/seq_release/single_release - use spin_lock_bh instead of spin_lock_irqsave Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Acked-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ip_fragment.c')
0 files changed, 0 insertions, 0 deletions