]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: Remove superfluous NULL pointer check in ipv6_local_rxpmtu
authorSteffen Klassert <steffen.klassert@secunet.com>
Tue, 11 Oct 2011 02:01:02 +0000 (02:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Oct 2011 03:51:30 +0000 (23:51 -0400)
commite29f3717027ee50462209394f2a24725228762ec
tree9c1fe9fa0e0ffc67273fe150a89bca9dc7c0afc9
parent5580a0ef11cba4deccea0114fdd9db1bf81b62f7
ipv6: Remove superfluous NULL pointer check in ipv6_local_rxpmtu

The pointer to mtu_info is taken from the common buffer
of the skb, thus it can't be a NULL pointer. This patch
removes this check on mtu_info.

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/datagram.c