Allocate PBUF_RAW instead of PBUF_LINK type pbufs. Fixes bug #1890 for this driver.

This commit is contained in:
likewise
2003-01-08 09:09:35 +00:00
parent b6b905412e
commit b311ab0d53
2 changed files with 2 additions and 2 deletions

View File

@@ -133,7 +133,7 @@ low_level_input(struct ethernetif *ethernetif)
len = ;
/* We allocate a pbuf chain of pbufs from the pool. */
p = pbuf_alloc(PBUF_LINK, len, PBUF_POOL);
p = pbuf_alloc(PBUF_RAW, len, PBUF_POOL);
if(p != NULL) {
/* We iterate over the pbuf chain until we have read the entire