aboutsummaryrefslogtreecommitdiffstats
path: root/net/iucv/af_iucv.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-07-18 05:39:39 -0400
committerDavid S. Miller <davem@davemloft.net>2008-07-18 05:39:39 -0400
commit49997d75152b3d23c53b0fa730599f2f74c92c65 (patch)
tree46e93126170d02cfec9505172e545732c1b69656 /net/iucv/af_iucv.c
parenta0c80b80e0fb48129e4e9d6a9ede914f9ff1850d (diff)
parent5b664cb235e97afbf34db9c4d77f08ebd725335e (diff)
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6
Conflicts: Documentation/powerpc/booting-without-of.txt drivers/atm/Makefile drivers/net/fs_enet/fs_enet-main.c drivers/pci/pci-acpi.c net/8021q/vlan.c net/iucv/iucv.c
Diffstat (limited to 'net/iucv/af_iucv.c')
-rw-r--r--net/iucv/af_iucv.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/net/iucv/af_iucv.c b/net/iucv/af_iucv.c
index 58e4aee3e696..29f7baa25110 100644
--- a/net/iucv/af_iucv.c
+++ b/net/iucv/af_iucv.c
@@ -1136,8 +1136,7 @@ static void iucv_callback_txdone(struct iucv_path *path,
1136 if (this) 1136 if (this)
1137 kfree_skb(this); 1137 kfree_skb(this);
1138 } 1138 }
1139 if (!this) 1139 BUG_ON(!this);
1140 printk(KERN_ERR "AF_IUCV msg tag %u not found\n", msg->tag);
1141 1140
1142 if (sk->sk_state == IUCV_CLOSING) { 1141 if (sk->sk_state == IUCV_CLOSING) {
1143 if (skb_queue_empty(&iucv_sk(sk)->send_skb_q)) { 1142 if (skb_queue_empty(&iucv_sk(sk)->send_skb_q)) {
@@ -1197,7 +1196,7 @@ static int __init afiucv_init(void)
1197 } 1196 }
1198 cpcmd("QUERY USERID", iucv_userid, sizeof(iucv_userid), &err); 1197 cpcmd("QUERY USERID", iucv_userid, sizeof(iucv_userid), &err);
1199 if (unlikely(err)) { 1198 if (unlikely(err)) {
1200 printk(KERN_ERR "AF_IUCV needs the VM userid\n"); 1199 WARN_ON(err);
1201 err = -EPROTONOSUPPORT; 1200 err = -EPROTONOSUPPORT;
1202 goto out; 1201 goto out;
1203 } 1202 }
@@ -1211,7 +1210,6 @@ static int __init afiucv_init(void)
1211 err = sock_register(&iucv_sock_family_ops); 1210 err = sock_register(&iucv_sock_family_ops);
1212 if (err) 1211 if (err)
1213 goto out_proto; 1212 goto out_proto;
1214 printk(KERN_INFO "AF_IUCV lowlevel driver initialized\n");
1215 return 0; 1213 return 0;
1216 1214
1217out_proto: 1215out_proto:
@@ -1227,8 +1225,6 @@ static void __exit afiucv_exit(void)
1227 sock_unregister(PF_IUCV); 1225 sock_unregister(PF_IUCV);
1228 proto_unregister(&iucv_proto); 1226 proto_unregister(&iucv_proto);
1229 iucv_unregister(&af_iucv_handler, 0); 1227 iucv_unregister(&af_iucv_handler, 0);
1230
1231 printk(KERN_INFO "AF_IUCV lowlevel driver unloaded\n");
1232} 1228}
1233 1229
1234module_init(afiucv_init); 1230module_init(afiucv_init);