ramips: allow packets with ttl=0
authorFelix Fietkau <nbd@nbd.name>
Sun, 24 Mar 2019 11:05:56 +0000 (12:05 +0100)
committerFelix Fietkau <nbd@nbd.name>
Sun, 24 Mar 2019 11:10:15 +0000 (12:10 +0100)
commitbee7ff7cf34dfe66cf71c2e28faa1a03dbfc334c
treeb1a373c410efc82ac2d3d2214be005b5bdb78df6
parentacf149d531c0c263a2869abe09018e7e232a9e41
ramips: allow packets with ttl=0

Some broken ISPs (e.g. Comcast) send DHCPv6 packets with hop limit=0.
This trips up the TTL=0 check in the PPE if enabled.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mtk_offload.c