patch-2.4.25 linux-2.4.25/net/decnet/dn_rules.c
Next file: linux-2.4.25/net/econet/af_econet.c
Previous file: linux-2.4.25/net/decnet/dn_neigh.c
Back to the patch index
Back to the overall index
-  Lines: 9
 -  Date:
2004-02-18 05:36:32.000000000 -0800
 -  Orig file: 
linux-2.4.24/net/decnet/dn_rules.c
 -  Orig date: 
2001-12-21 09:42:05.000000000 -0800
 
diff -urN linux-2.4.24/net/decnet/dn_rules.c linux-2.4.25/net/decnet/dn_rules.c
@@ -335,7 +335,7 @@
 
 nlmsg_failure:
 rtattr_failure:
-	skb_put(skb, b - skb->tail);
+	skb_trim(skb, b - skb->data);
 	return -1;
 }
 
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)