]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit311945e81a5ffffa566961c479ed38df25e02241
tree1e1a9d09a881a0283d991e91f39a36d6de045d54
parent341128974ef9fa45317d227abb5473f97cb85d5a
Revert "udp: remove redundant variable"

This reverts commit d8062aa7f9e7962e2a0c09868e887770cc26f2e0.

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