commit | f15ac65254cf11da980c68cf723a21342381ea80 | [log] [tgz] |
---|---|---|
author | Marcin Niestroj <m.niestroj@grinn-global.com> | Wed Feb 19 14:12:47 2020 +0100 |
committer | Jukka Rissanen <jukka.rissanen@linux.intel.com> | Tue Mar 10 16:44:13 2020 +0200 |
tree | ece77dd7c76d3450bb58259583a01a3720419e72 | |
parent | cbef6760c13e27faf95e476c0fd002ec3c9ed04c [diff] |
net: icmpv4: drop requests on NET_OFFLOAD interfaces NET_OFFLOAD interfaces do not handle ICMP request. Request to send ICMP packet resulted in NULL pointer dereference in net_if_tx() later on. Prevent that by detecting NET_OFFLOAD interfaces early in icmpv4 module. Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>