patch-2.1.15 linux/net/rose/rose_link.c

Next file: linux/net/rose/rose_out.c
Previous file: linux/net/rose/rose_in.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.14/linux/net/rose/rose_link.c linux/net/rose/rose_link.c
@@ -165,7 +165,6 @@
 	*dptr++ = 0x00;
 	*dptr++ = 0;
 
-	skb->free = 1;
 	skb->sk   = NULL;
 
 	if (!ax25_send_frame(skb, (ax25_address *)neigh->dev->dev_addr, &neigh->callsign, neigh->digipeat, neigh->dev))
@@ -195,7 +194,6 @@
 	*dptr++ = 0x00;
 	*dptr++ = ROSE_RESTART_CONFIRMATION;
 
-	skb->free = 1;
 	skb->sk   = NULL;
 
 	if (!ax25_send_frame(skb, (ax25_address *)neigh->dev->dev_addr, &neigh->callsign, neigh->digipeat, neigh->dev))
@@ -226,7 +224,6 @@
 	*dptr++ = ROSE_DIAGNOSTIC;
 	*dptr++ = diag;
 
-	skb->free = 1;
 	skb->sk   = NULL;
 
 	if (!ax25_send_frame(skb, (ax25_address *)neigh->dev->dev_addr, &neigh->callsign, neigh->digipeat, neigh->dev))
@@ -259,7 +256,6 @@
 	*dptr++ = cause;
 	*dptr++ = 0x00;
 
-	skb->free = 1;
 	skb->sk   = NULL;
 
 	if (!ax25_send_frame(skb, (ax25_address *)neigh->dev->dev_addr, &neigh->callsign, neigh->digipeat, neigh->dev))
@@ -282,7 +278,6 @@
 	*dptr++ = AX25_P_ROSE;
 
 	skb->arp  = 1;
-	skb->free = 1;
 
 	if (neigh->restarted) {
 		if (!ax25_send_frame(skb, (ax25_address *)neigh->dev->dev_addr, &neigh->callsign, neigh->digipeat, neigh->dev))

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov