diff options
| author | Andrew Morton <akpm@digeo.com> | 2003-06-14 07:21:47 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2003-06-14 07:21:47 -0700 |
| commit | 2631b953047fa4fd2c6302d80811807e2a2b08ee (patch) | |
| tree | 9a0d6be36b927bf78de7e7a0fb24d3609dff6852 /include/linux/arcdevice.h | |
| parent | 78820703a7cc07684b2f4a346176a95749824a32 (diff) | |
[PATCH] arcnet oops fix
From: Dipankar Sarma <dipankar@in.ibm.com>
Forward-port of a fix Alan merged into 2.4.21-pre. It fixes arcnet oopses
with raw sockets.
Diffstat (limited to 'include/linux/arcdevice.h')
| -rw-r--r-- | include/linux/arcdevice.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/arcdevice.h b/include/linux/arcdevice.h index b706151a0003..a8672f0ddeb6 100644 --- a/include/linux/arcdevice.h +++ b/include/linux/arcdevice.h @@ -190,8 +190,8 @@ struct ArcProto { void (*rx) (struct net_device * dev, int bufnum, struct archdr * pkthdr, int length); - int (*build_header) (struct sk_buff * skb, unsigned short ethproto, - uint8_t daddr); + int (*build_header) (struct sk_buff * skb, struct net_device *dev, + unsigned short ethproto, uint8_t daddr); /* these functions return '1' if the skb can now be freed */ int (*prepare_tx) (struct net_device * dev, struct archdr * pkt, int length, |
