Commit:     f1ecfd5d3b69d98b814435758c485e6fd0e112de
Parent:     b877fe288a325b9711d83628eb54e1deb63f962e
Author:     Ursula Braun <[EMAIL PROTECTED]>
AuthorDate: Mon Oct 22 16:16:14 2007 +0200
Committer:  Jeff Garzik <[EMAIL PROTECTED]>
CommitDate: Tue Oct 23 20:18:13 2007 -0400

    remove header_ops bug in qeth driver
    Remove qeth bug caused by commit:
    [NET]: Move hardware header operations out of netdevice.
    This is the second part of the qeth header_ops patch, since
    first patch sent 10/19 has been insufficient.
    Nevertheless first patch is still valid and should be kept.
    Signed-off-by: Ursula Braun <[EMAIL PROTECTED]>
    Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>
 include/linux/netdevice.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 4a3f54e..c4de536 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -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);
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to