aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/plip.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/plip.c')
-rw-r--r--drivers/net/plip.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/plip.c b/drivers/net/plip.c
index ca4df7f4cf21..a9e9ca8a86ed 100644
--- a/drivers/net/plip.c
+++ b/drivers/net/plip.c
@@ -152,7 +152,7 @@ static int plip_hard_header(struct sk_buff *skb, struct net_device *dev,
152 unsigned short type, const void *daddr, 152 unsigned short type, const void *daddr,
153 const void *saddr, unsigned len); 153 const void *saddr, unsigned len);
154static int plip_hard_header_cache(const struct neighbour *neigh, 154static int plip_hard_header_cache(const struct neighbour *neigh,
155 struct hh_cache *hh); 155 struct hh_cache *hh, __be16 type);
156static int plip_open(struct net_device *dev); 156static int plip_open(struct net_device *dev);
157static int plip_close(struct net_device *dev); 157static int plip_close(struct net_device *dev);
158static int plip_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd); 158static int plip_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd);
@@ -1026,11 +1026,11 @@ plip_hard_header(struct sk_buff *skb, struct net_device *dev,
1026} 1026}
1027 1027
1028static int plip_hard_header_cache(const struct neighbour *neigh, 1028static int plip_hard_header_cache(const struct neighbour *neigh,
1029 struct hh_cache *hh) 1029 struct hh_cache *hh, __be16 type)
1030{ 1030{
1031 int ret; 1031 int ret;
1032 1032
1033 ret = eth_header_cache(neigh, hh); 1033 ret = eth_header_cache(neigh, hh, type);
1034 if (ret == 0) { 1034 if (ret == 0) {
1035 struct ethhdr *eth; 1035 struct ethhdr *eth;
1036 1036