projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c18a2c3
)
slirp: Drop redundant lines from udp_input
author
Jan Kiszka
<jan.kiszka@siemens.com>
Wed, 24 Jun 2009 12:42:27 +0000
(14:42 +0200)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Mon, 29 Jun 2009 13:52:44 +0000
(08:52 -0500)
The socket faddr/fport is already updated a few lines below, so these
are completely redundant.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
slirp/udp.c
patch
|
blob
|
history
diff --git
a/slirp/udp.c
b/slirp/udp.c
index 11e78cddd5cf89b2c94e5fcda9d98c196c599451..ba9d5c92baa837dbfbf09a3a9c26910c0cc7aa8e 100644
(file)
--- a/
slirp/udp.c
+++ b/
slirp/udp.c
@@
-173,8
+173,6
@@
udp_input(register struct mbuf *m, int iphlen)
for (tmp = udb.so_next; tmp != &udb; tmp = tmp->so_next) {
if (tmp->so_lport == uh->uh_sport &&
tmp->so_laddr.s_addr == ip->ip_src.s_addr) {
- tmp->so_faddr.s_addr = ip->ip_dst.s_addr;
- tmp->so_fport = uh->uh_dport;
so = tmp;
break;
}