Home
last modified time | relevance | path

Searched hist:"4 de83b88c66a1e4dba426b29766fb68e61d93792" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/
H A Dloopback.cdiff 4de83b88c66a1e4dba426b29766fb68e61d93792 Mon Jul 01 16:38:49 CDT 2019 Mahesh Bandewar <maheshb@google.com> loopback: create blackhole net device similar to loopack.

Create a blackhole net device that can be used for "dead"
dst entries instead of loopback device. This blackhole device differs
from loopback in few aspects: (a) It's not per-ns. (b) MTU on this
device is ETH_MIN_MTU (c) The xmit function is essentially kfree_skb().
and (d) since it's not registered it won't have ifindex.

Lower MTU effectively make the device not pass the MTU check during
the route check when a dst associated with the skb is dead.

Signed-off-by: Mahesh Bandewar <maheshb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/openbmc/linux/include/linux/
H A Dnetdevice.hdiff 4de83b88c66a1e4dba426b29766fb68e61d93792 Mon Jul 01 16:38:49 CDT 2019 Mahesh Bandewar <maheshb@google.com> loopback: create blackhole net device similar to loopack.

Create a blackhole net device that can be used for "dead"
dst entries instead of loopback device. This blackhole device differs
from loopback in few aspects: (a) It's not per-ns. (b) MTU on this
device is ETH_MIN_MTU (c) The xmit function is essentially kfree_skb().
and (d) since it's not registered it won't have ifindex.

Lower MTU effectively make the device not pass the MTU check during
the route check when a dst associated with the skb is dead.

Signed-off-by: Mahesh Bandewar <maheshb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>