commit | f1810c84954281d331aaa108ea6bd9f3753e2230 | [log] [tgz] |
---|---|---|
author | Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com> | Mon Mar 11 13:06:48 2019 +0100 |
committer | Andrew Boie <andrewboie@gmail.com> | Mon Mar 11 20:57:29 2019 -0700 |
tree | d6b1933aedcb89ba52eddd1ea316e85cd8158098 | |
parent | a567bcb76555b8cc8a3a1b5b5ce12dc3f7fc31fe [diff] |
net/icmpv4: Create reply taking taking into account the IPv4 hdr lengh Now that IPv4 options are handled, ICMPv4 echo reply must be created taking into account that IPv4 header length can be variable. So instead of cloning and rewriting (that would copy the useless options), let's allocate and copy only the payload. Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>