Fix annoying bug that lead to dropped packets in the P4 system
authorRon Dreslinski <rdreslin@umich.edu>
Fri, 21 Jan 2005 09:55:43 +0000 (04:55 -0500)
committerRon Dreslinski <rdreslin@umich.edu>
Fri, 21 Jan 2005 09:55:43 +0000 (04:55 -0500)
commit867d80d55df081b4deae36a15d48dc36560fbde5
treec6863b7f1e0426058fb2a20386fb7e52f2dda9eb
parent10371be698b411bc068137bf2add0c5a74ec60eb
Fix annoying bug that lead to dropped packets in the P4 system

dev/pktfifo.cc:
    Make it so that we don't unserialize the size of the fifo, clobering the fact that we were trying to make it bigger, and leading to a misleading config.out that states the un-overwritten max_size.
    Perhaps this should instead be a panic if the size (amount that was serialized) is bigger than the maxsize that was assigned by the configuration file.

--HG--
extra : convert_revision : d4b0527bfd7a584554ddc87c9b2103f7a3a72332
dev/pktfifo.cc