patch-2.4.3 linux/drivers/net/wan/sdla_ppp.c

Next file: linux/drivers/net/wan/sdla_x25.c
Previous file: linux/drivers/net/wan/sdla_fr.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.2/linux/drivers/net/wan/sdla_ppp.c linux/drivers/net/wan/sdla_ppp.c
@@ -897,7 +897,7 @@
 
     	if (test_and_set_bit(0, (void*)&card->wandev.critical)) {
 
-		printk(KERN_INFO "%s: Critical in if_send: %x\n",
+		printk(KERN_INFO "%s: Critical in if_send: %lx\n",
 				card->wandev.name,card->wandev.critical);
     		dev_kfree_skb(skb);
 
@@ -1686,8 +1686,6 @@
 				card->devname);
 			++card->wandev.stats.rx_dropped;
 			++ppp_priv_area->rx_intr_stat.rx_intr_no_socket;
-			
-               		dev_kfree_skb(skb);
 		}
 
 	} else {
@@ -2589,8 +2587,6 @@
     	}	
 
 	ppp_priv_area->udp_pkt_lgth = 0;
-	
-	return; 
 }
 
 /*=============================================================================
@@ -2753,7 +2749,7 @@
 			 card->devname, err);
 		return err;
 	}else
-		printk (KERN_INFO "%s: PPP Deleting dynamic route %s successfuly\n",
+		printk (KERN_INFO "%s: PPP Deleting dynamic route %s successfully\n",
 			card->devname, in_ntoa(ip_addr));
 
 	

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