1
0
mirror of https://github.com/simh/simh.git synced 2026-04-18 00:48:13 +00:00

PDP11, VAX: Make sure to initialize amount of data processed for incoming packets which get read into multiple buffer descriptors

This commit is contained in:
Mark Pizzolato
2014-10-09 11:15:11 -07:00
parent 004fe0de62
commit 9c5df04de4
4 changed files with 21 additions and 14 deletions

View File

@@ -206,6 +206,9 @@ struct eth_packet {
struct eth_item {
int type; /* receive (0=setup, 1=loopback, 2=normal) */
#define ETH_ITM_SETUP 0
#define ETH_ITM_LOOPBACK 1
#define ETH_ITM_NORMAL 2
struct eth_packet packet;
};