mirror of
https://github.com/torvalds/linux.git
synced 2026-12-03 20:06:35 +00:00
iph->tot_len is stored in network byte order, so access it using ntohs(). This doesn't have any real world impact on ehea, since ehea only exists for big-endian platfroms (at the moment at least) but fixing this gets rid of a sparse warning and avoids having a bad example in the tree. Signed-off-by: Roland Dreier <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>