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:12:09 +0000 (12:12 +0100)
commit4336cfda123af6a1f664e2288625f2b7e1d858d9
treebffe812662005fea71767c9d9f2063eff48002e3
parent13eb73b2788d1526318fd89e8b9c5ad4a7d716b6
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/mtk/mtk_offload.c