diff options
Diffstat (limited to 'net')
| -rw-r--r-- | net/core/flow_dissector.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/flow_dissector.c b/net/core/flow_dissector.c index 8d7d0dd72db2..143b6fdb9647 100644 --- a/net/core/flow_dissector.c +++ b/net/core/flow_dissector.c | |||
| @@ -40,7 +40,7 @@ again: | |||
| 40 | struct iphdr _iph; | 40 | struct iphdr _iph; |
| 41 | ip: | 41 | ip: |
| 42 | iph = skb_header_pointer(skb, nhoff, sizeof(_iph), &_iph); | 42 | iph = skb_header_pointer(skb, nhoff, sizeof(_iph), &_iph); |
| 43 | if (!iph) | 43 | if (!iph || iph->ihl < 5) |
| 44 | return false; | 44 | return false; |
| 45 | 45 | ||
| 46 | if (ip_is_fragment(iph)) | 46 | if (ip_is_fragment(iph)) |
