Re: [PATCH net-next v1 2/4] tipc: don't check link reset on non existing link

2016-03-06 Thread David Miller
From: Richard Alpe Date: Thu, 3 Mar 2016 14:20:41 +0100 > Make sure we have a link before checking if it has been reset or not. > > Prior to this patch tipc_link_is_reset() could be called with a non > existing link, resulting in a null pointer dereference. > > Signed-off-by: Richard Alpe > Ac

[PATCH net-next v1 2/4] tipc: don't check link reset on non existing link

2016-03-03 Thread Richard Alpe
Make sure we have a link before checking if it has been reset or not. Prior to this patch tipc_link_is_reset() could be called with a non existing link, resulting in a null pointer dereference. Signed-off-by: Richard Alpe Acked-by: Jon Maloy Reviewed-by: Erik Hugne --- net/tipc/node.c | 2 +-