Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 72423
b: refs/heads/master
c: f1ecfd5
h: refs/heads/master
i:
  72421: de5f04a
  72419: ffe9150
  72415: 8663450
v: v3
  • Loading branch information
Ursula Braun authored and Jeff Garzik committed Oct 24, 2007
1 parent 592a971 commit a7188d0
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: b877fe288a325b9711d83628eb54e1deb63f962e
refs/heads/master: f1ecfd5d3b69d98b814435758c485e6fd0e112de
2 changes: 1 addition & 1 deletion trunk/include/linux/netdevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -834,7 +834,7 @@ static inline int dev_hard_header(struct sk_buff *skb, struct net_device *dev,
const void *daddr, const void *saddr,
unsigned len)
{
if (!dev->header_ops)
if (!dev->header_ops || !dev->header_ops->create)
return 0;

return dev->header_ops->create(skb, dev, type, daddr, saddr, len);
Expand Down

0 comments on commit a7188d0

Please sign in to comment.