net: skb_is_gso_v6() requires skb_is_gso()
authorEric Dumazet <edumazet@google.com>
Sun, 29 Sep 2013 08:21:32 +0000 (01:21 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Oct 2013 05:09:00 +0000 (22:09 -0700)
commit36a8f39e05ccc308a5619a7edb5ad6e15ee82ff6
tree3f3cc0acf69af141e804e0506919f33912e13c1e
parentc3f40d7c04152c6f168db2f9b43438015cf092c4
net: skb_is_gso_v6() requires skb_is_gso()

bnx2x makes a dangerous use of skb_is_gso_v6().

It should first make sure skb is a gso packet

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Eilon Greenstein <eilong@broadcom.com>
Acked-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
include/linux/skbuff.h