projects
/
unionfs-2.6.39.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e77b349
)
fix RARP ic_servaddr breakage
author
Al Viro
<viro@zeniv.linux.org.uk>
Sun, 5 Nov 2006 07:15:37 +0000
(08:15 +0100)
committer
Adrian Bunk
<bunk@stusta.de>
Sun, 5 Nov 2006 07:15:37 +0000
(08:15 +0100)
memcpy 4 bytes to address of auto unsigned long variable followed
by comparison with u32 is a bloody bad idea.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
net/ipv4/ipconfig.c
patch
|
blob
|
history
diff --git
a/net/ipv4/ipconfig.c
b/net/ipv4/ipconfig.c
index bb3613ec448c59438158fbf72c95116810fbd659..1b5d0394d6437425b9bd0a45afe95462f7fa1fad 100644
(file)
--- a/
net/ipv4/ipconfig.c
+++ b/
net/ipv4/ipconfig.c
@@
-421,7
+421,7
@@
ic_rarp_recv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt
{
struct arphdr *rarp;
unsigned char *rarp_ptr;
- u
nsigned long
sip, tip;
+ u
32
sip, tip;
unsigned char *sha, *tha; /* s for "source", t for "target" */
struct ic_device *d;