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
/
appletalk
/
ipddp.c
diff --git
a/drivers/net/appletalk/ipddp.c
b/drivers/net/appletalk/ipddp.c
index
8c0a962
..
8bf0bba
100644
(file)
--- a/
drivers/net/appletalk/ipddp.c
+++ b/
drivers/net/appletalk/ipddp.c
@@
-259,7
+259,7
@@
static struct ipddp_route* ipddp_find_route(struct ipddp_route *rt)
static int ipddp_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
{
- struct ipddp_route
*rt = (struct ipddp_route *)
ifr->ifr_data;
+ struct ipddp_route
__user *rt =
ifr->ifr_data;
struct ipddp_route rcp;
if(!capable(CAP_NET_ADMIN))