patch-2.4.25 linux-2.4.25/drivers/net/pppoe.c
Next file: linux-2.4.25/drivers/net/sb1250-mac.c
Previous file: linux-2.4.25/drivers/net/pcmcia/xircom_cb.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
2004-02-18 05:36:31.000000000 -0800
- Orig file:
linux-2.4.24/drivers/net/pppoe.c
- Orig date:
2003-11-28 10:26:20.000000000 -0800
diff -urN linux-2.4.24/drivers/net/pppoe.c linux-2.4.25/drivers/net/pppoe.c
@@ -365,7 +365,8 @@
if (!__pppoe_xmit( relay_po->sk , skb))
goto abort_put;
} else {
- sock_queue_rcv_skb(sk, skb);
+ if (sock_queue_rcv_skb(sk, skb))
+ goto abort_kfree;
}
return NET_RX_SUCCESS;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)