aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorWANG Cong <xiyou.wangcong@gmail.com>2016-09-18 15:52:20 -0700
committerDavid S. Miller <davem@davemloft.net>2016-09-23 06:51:49 -0400
commit21641c2e1ffd0b504610a33beaeab8fcc5140677 (patch)
tree7d85de3b3d90be1949715ff6f542dc3888041022 /security
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (diff)
downloadlinux-dev-21641c2e1ffd0b504610a33beaeab8fcc5140677.tar.xz
linux-dev-21641c2e1ffd0b504610a33beaeab8fcc5140677.zip
net_sched: check NULL on error path in route4_change()
On error path in route4_change(), 'f' could be NULL, so we should check NULL before calling tcf_exts_destroy(). Fixes: b9a24bb76bf6 ("net_sched: properly handle failure case of tcf_exts_init()") Reported-by: kbuild test robot <fengguang.wu@intel.com> Cc: Jamal Hadi Salim <jhs@mojatatu.com> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Acked-by: Jamal Hadi Salim <jhs@mojatatu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions