]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - include/net/dst.h
dst: catch uninitialized metrics
authorStephen Hemminger <shemminger@vyatta.com>
Tue, 24 May 2011 17:50:52 +0000 (13:50 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 May 2011 17:50:52 +0000 (13:50 -0400)
commit1f37070d3ff325827c6213e51b57f21fd5ac9d05
treeac0d1bc0a5e2cdaaeedb72b2ba049141ea16121c
parent5d8bee676fc9fc9389302baa9ba47bc2ed885f64
dst: catch uninitialized metrics

Catch cases where dst_metric_set() and other functions are called
but _metrics is NULL.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dst.h