Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 71297
b: refs/heads/master
c: 1b83336
h: refs/heads/master
i:
  71295: c6f116d
v: v3
  • Loading branch information
Patrick McHardy authored and David S. Miller committed Oct 18, 2007
1 parent 5b8f743 commit 3b94f4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: df2e014bfbbf26d160e1bf47b05fc05c96205e2b
refs/heads/master: 1b83336bb9fa4f110b5b0a4378a82cd5f0fd0ac8
2 changes: 1 addition & 1 deletion trunk/include/linux/netdevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -827,7 +827,7 @@ static inline int dev_parse_header(const struct sk_buff *skb,
{
const struct net_device *dev = skb->dev;

if (!dev->header_ops->parse)
if (!dev->header_ops || !dev->header_ops->parse)
return 0;
return dev->header_ops->parse(skb, haddr);
}
Expand Down

0 comments on commit 3b94f4c

Please sign in to comment.