patch-2.4.19 linux-2.4.19/net/netrom/nr_loopback.c
Next file: linux-2.4.19/net/netrom/nr_route.c
Previous file: linux-2.4.19/net/netrom/af_netrom.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Fri Aug 2 17:39:46 2002
- Orig file:
linux-2.4.18/net/netrom/nr_loopback.c
- Orig date:
Wed Jun 27 17:10:55 2001
diff -urN linux-2.4.18/net/netrom/nr_loopback.c linux-2.4.19/net/netrom/nr_loopback.c
@@ -85,6 +85,9 @@
if (dev == NULL || nr_rx_frame(skb, dev) == 0)
kfree_skb(skb);
+ if (dev != NULL)
+ dev_put(dev);
+
if (!skb_queue_empty(&loopback_queue) && !nr_loopback_running())
nr_set_loopback_timer();
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)