patch-2.4.4 linux/drivers/s390/net/netiucv.c

Next file: linux/drivers/s390/s390dyn.c
Previous file: linux/drivers/s390/net/iucv.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.3/linux/drivers/s390/net/netiucv.c linux/drivers/s390/net/netiucv.c
@@ -489,7 +489,7 @@
 	pr_debug ("message_pending: ID=%p Length=%u\n", (void *) mpi->ipmsgid,
 		  buffer_length);
 
-	buffer = kmalloc (buffer_length, GFP_KERNEL | GFP_DMA);
+	buffer = kmalloc (buffer_length, GFP_ATOMIC | GFP_DMA);
 	if (buffer == NULL) {
 		p->stats.rx_dropped++;
 		return;
@@ -707,7 +707,6 @@
 	dev->flags = IFF_NOARP | IFF_POINTOPOINT;
 	dev->mtu = 9216;
 
-	dev_init_buffers (dev);
 	pr_debug ("%s: iucv_init  dev@=%p\n", dev->name, dev);
 	return 0;
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)