Revert "udp: remove redundant variable"
authorDavid S. Miller <davem@davemloft.net>
Thu, 1 Dec 2011 19:12:55 +0000 (14:12 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Dec 2011 19:12:55 +0000 (14:12 -0500)
commit59c2cdae2791c0b2ee13d148edc6b771e7e7953f
tree1e1a9d09a881a0283d991e91f39a36d6de045d54
parentb03b6dd58cef7d15b7c46a6729b83dd535ef08ab
Revert "udp: remove redundant variable"

This reverts commit 81d54ec8479a2c695760da81f05b5a9fb2dbe40a.

If we take the "try_again" goto, due to a checksum error,
the 'len' has already been truncated.  So we won't compute
the same values as the original code did.

Reported-by: paul bilke <fsmail@conspiracy.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/udp.c
net/ipv6/udp.c