|
@@ -533,10 +533,12 @@ int net_rx ( struct io_buffer *iobuf, struct net_device *netdev,
|
533
|
533
|
|
534
|
534
|
/* Hand off to network-layer protocol, if any */
|
535
|
535
|
for_each_table_entry ( net_protocol, NET_PROTOCOLS ) {
|
536
|
|
- if ( net_protocol->net_proto == net_proto ) {
|
|
536
|
+ if ( net_protocol->net_proto == net_proto )
|
537
|
537
|
return net_protocol->rx ( iobuf, netdev, ll_source );
|
538
|
|
- }
|
539
|
538
|
}
|
|
539
|
+
|
|
540
|
+ DBGC ( netdev, "NETDEV %p unknown network protocol %04x\n",
|
|
541
|
+ netdev, ntohs ( net_proto ) );
|
540
|
542
|
free_iob ( iobuf );
|
541
|
543
|
return 0;
|
542
|
544
|
}
|