|
@@ -453,6 +453,7 @@ static void undinet_poll ( struct net_device *netdev ) {
|
453
|
453
|
"allocate %zd bytes for RX buffer\n",
|
454
|
454
|
undinic, len );
|
455
|
455
|
/* Fragment will be dropped */
|
|
456
|
+ netdev_rx_err ( netdev, NULL, -ENOMEM );
|
456
|
457
|
goto done;
|
457
|
458
|
}
|
458
|
459
|
if ( frag_len > iob_tailroom ( iobuf ) ) {
|
|
@@ -492,7 +493,7 @@ static void undinet_poll ( struct net_device *netdev ) {
|
492
|
493
|
if ( iobuf ) {
|
493
|
494
|
DBGC ( undinic, "UNDINIC %p returned incomplete packet\n",
|
494
|
495
|
undinic );
|
495
|
|
- netdev_rx ( netdev, iobuf );
|
|
496
|
+ netdev_rx_err ( netdev, iobuf, -EINVAL );
|
496
|
497
|
}
|
497
|
498
|
}
|
498
|
499
|
|