diff options
author | Eric Dumazet <edumazet@google.com> | 2017-10-17 10:07:44 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-19 13:17:39 +0100 |
commit | 010f245b9dd734adda6386c494a4ace953ea8dc4 (patch) | |
tree | e74de233d9da5944058f3a357b949160524f863c /drivers/net/appletalk/cops.c | |
parent | 22ce97fe49b5522e0f97b7c2282ed71a1abd7410 (diff) |
tun: relax check on eth_get_headlen() return value
syzkaller hit the WARN() in tun_get_user(), providing skb
with payload in fragments only, and nothing in skb->head
GRO layer is fine with this, so relax the check.
Fixes: 90e33d459407 ("tun: enable napi_gro_frags() for TUN/TAP driver")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/appletalk/cops.c')
0 files changed, 0 insertions, 0 deletions