git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
patch-2_6_7-vs1_9_1_12
[linux-2.6.git]
/
drivers
/
net
/
shaper.c
diff --git
a/drivers/net/shaper.c
b/drivers/net/shaper.c
index
9352fc6
..
2351e18
100644
(file)
--- a/
drivers/net/shaper.c
+++ b/
drivers/net/shaper.c
@@
-579,7
+579,7
@@
static int shaper_attach(struct net_device *shdev, struct shaper *sh, struct net
static int shaper_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
{
static int shaper_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
{
- struct shaperconf *ss= (struct shaperconf *)&ifr->ifr_
data
;
+ struct shaperconf *ss= (struct shaperconf *)&ifr->ifr_
ifru
;
struct shaper *sh=dev->priv;
if(ss->ss_cmd == SHAPER_SET_DEV || ss->ss_cmd == SHAPER_SET_SPEED)
struct shaper *sh=dev->priv;
if(ss->ss_cmd == SHAPER_SET_DEV || ss->ss_cmd == SHAPER_SET_SPEED)