[PATCH 3.16 116/294] ipv4: fix NULL dereference in free_fib_info_rcu()

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit 187e5b3ac84d3421d2de3aca949b2791fbcad554 upstream. If fi->fib_metrics could not be allocated in fib_create_info() we attempt to dereference a NULL

[PATCH 3.16 116/294] ipv4: fix NULL dereference in free_fib_info_rcu()

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit 187e5b3ac84d3421d2de3aca949b2791fbcad554 upstream. If fi->fib_metrics could not be allocated in fib_create_info() we attempt to dereference a NULL pointer in