Searched hist:"55 afabaa" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/net/ |
H A D | ip6_route.h | 55afabaa Mon Jun 11 17:52:29 CDT 2012 David S. Miller <davem@davemloft.net> inet: Fix BUG triggered by __rt{,6}_get_peer().
If no peer actually gets attached (either because create is zero or the peer allocation fails) we'll trigger a BUG because we unconditionally do an rt{,6}_peer_ptr() afterwards.
Fix this by guarding it with the proper check.
Signed-off-by: David S. Miller <davem@davemloft.net> 55afabaa Mon Jun 11 17:52:29 CDT 2012 David S. Miller <davem@davemloft.net> inet: Fix BUG triggered by __rt{,6}_get_peer(). If no peer actually gets attached (either because create is zero or the peer allocation fails) we'll trigger a BUG because we unconditionally do an rt{,6}_peer_ptr() afterwards. Fix this by guarding it with the proper check. Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | route.h | 55afabaa Mon Jun 11 17:52:29 CDT 2012 David S. Miller <davem@davemloft.net> inet: Fix BUG triggered by __rt{,6}_get_peer().
If no peer actually gets attached (either because create is zero or the peer allocation fails) we'll trigger a BUG because we unconditionally do an rt{,6}_peer_ptr() afterwards.
Fix this by guarding it with the proper check.
Signed-off-by: David S. Miller <davem@davemloft.net> 55afabaa Mon Jun 11 17:52:29 CDT 2012 David S. Miller <davem@davemloft.net> inet: Fix BUG triggered by __rt{,6}_get_peer(). If no peer actually gets attached (either because create is zero or the peer allocation fails) we'll trigger a BUG because we unconditionally do an rt{,6}_peer_ptr() afterwards. Fix this by guarding it with the proper check. Signed-off-by: David S. Miller <davem@davemloft.net>
|