Loading drivers/net/tun.c +4 −0 Original line number Diff line number Diff line Loading @@ -1838,6 +1838,10 @@ static ssize_t tun_get_user(struct tun_struct *tun, struct tun_file *tfile, return -EINVAL; } if (!(tun->flags & IFF_NO_PI)) if (pi.flags & htons(CHECKSUM_UNNECESSARY)) skb->ip_summed = CHECKSUM_UNNECESSARY; switch (tun->flags & TUN_TYPE_MASK) { case IFF_TUN: if (tun->flags & IFF_NO_PI) { Loading Loading
drivers/net/tun.c +4 −0 Original line number Diff line number Diff line Loading @@ -1838,6 +1838,10 @@ static ssize_t tun_get_user(struct tun_struct *tun, struct tun_file *tfile, return -EINVAL; } if (!(tun->flags & IFF_NO_PI)) if (pi.flags & htons(CHECKSUM_UNNECESSARY)) skb->ip_summed = CHECKSUM_UNNECESSARY; switch (tun->flags & TUN_TYPE_MASK) { case IFF_TUN: if (tun->flags & IFF_NO_PI) { Loading