diff options
| author | Michael Brown | 2020-11-29 12:23:41 +0100 |
|---|---|---|
| committer | Michael Brown | 2020-11-29 12:25:40 +0100 |
| commit | a2e5cf1a3fb7bbffb4136a12daea9145577a3241 (patch) | |
| tree | 7915deb9b210ae34fdcf2ed458605917cf87083d /src/net/dhcppkt.c | |
| parent | [netdevice] Do not attempt to unmap a null I/O buffer (diff) | |
| download | ipxe-a2e5cf1a3fb7bbffb4136a12daea9145577a3241.tar.gz ipxe-a2e5cf1a3fb7bbffb4136a12daea9145577a3241.tar.xz ipxe-a2e5cf1a3fb7bbffb4136a12daea9145577a3241.zip | |
[netdevice] Fix misleading comment on netdev_rx()
Unlike netdev_rx_err(), there is no valid circumstance under which
netdev_rx() may be called with a null I/O buffer, since a call to
netdev_rx() represents the successful reception of a packet. Fix the
code comment to reflect this.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net/dhcppkt.c')
0 files changed, 0 insertions, 0 deletions
