fix RARP ic_servaddr breakage
Subsystems (2)
PATCH 1/1 fix RARP ic_servaddr breakage
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 <[email protected]>
--- net/ipv4/ipconfig.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
net/ipv4/ipconfig.c +1 -1
@@ -420,7 +420,7 @@ ic_rarp_recv(struct sk_buff *skb, struct {struct arphdr *rarp;unsigned char *rarp_ptr; -unsigned long sip, tip; +u32 sip, tip;unsigned char *sha, *tha;/* s for "source", t for "target" */ struct ic_device *d;
Signature · 1 line
1.4.2.GIT
From: Al Viro <[email protected]>
Date: Tue, 24 Oct 2006 22:10:27 +0100
Quoted 4 lines
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 <[email protected]>
Applied, good spotting Al.