[NET]: Wrap netdevice hardware header creation.
authorStephen Hemminger <shemminger@linux-foundation.org>
Tue, 9 Oct 2007 08:36:32 +0000 (01:36 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:52:50 +0000 (16:52 -0700)
commit0c4e85813d0a94eeb8bf813397a4907bdd7bb610
tree53ee948abc930bb1c5cd270c490f87fda5eb45b3
parent4c94f8c0c9a82fad84bc5df453aff755cfed70b7
[NET]: Wrap netdevice hardware header creation.

Add inline for common usage of hardware header creation, and
fix bug in IPV6 mcast where the assumption about negative return is
an errno. Negative return from hard_header means not enough space
was available,(ie -N bytes).

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
19 files changed:
drivers/net/hamradio/bpqether.c
drivers/net/macvlan.c
drivers/net/pppoe.c
drivers/net/wan/lapbether.c
include/linux/netdevice.h
include/net/dn_route.h
net/802/p8023.c
net/8021q/vlan_dev.c
net/core/neighbour.c
net/core/netpoll.c
net/decnet/dn_neigh.c
net/econet/af_econet.c
net/ethernet/pe2.c
net/ipv4/arp.c
net/ipv4/ipconfig.c
net/ipv6/mcast.c
net/packet/af_packet.c
net/sched/sch_teql.c
net/tipc/eth_media.c