diff options
author | David S. Miller <davem@davemloft.net> | 2008-03-24 06:54:03 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-24 06:54:03 +0100 |
commit | 06802a819a0a2d31c952c0624cea6cd00e4e50da (patch) | |
tree | 8ccd7c668c7fbd8f08cb89426006040217caf3f1 /net/atm/lec.c | |
parent | [CASSINI]: Use shorter list_splice_init() macro for brevity. (diff) | |
parent | sch_htb: fix "too many events" situation (diff) | |
download | linux-06802a819a0a2d31c952c0624cea6cd00e4e50da.tar.xz linux-06802a819a0a2d31c952c0624cea6cd00e4e50da.zip |
Merge branch 'master' of ../net-2.6/
Conflicts:
net/ipv6/ndisc.c
Diffstat (limited to 'net/atm/lec.c')
-rw-r--r-- | net/atm/lec.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/atm/lec.c b/net/atm/lec.c index e2d800d818e3..aa3785ebf6d1 100644 --- a/net/atm/lec.c +++ b/net/atm/lec.c @@ -1225,6 +1225,10 @@ static int __init lane_module_init(void) struct proc_dir_entry *p; p = proc_create("lec", S_IRUGO, atm_proc_root, &lec_seq_fops); + if (!p) { + printk(KERN_ERR "Unable to initialize /proc/net/atm/lec\n"); + return -ENOMEM; + } #endif register_atm_ioctl(&lane_ioctl_ops); |