summaryrefslogtreecommitdiffstats
path: root/include/net/tipc
diff options
context:
space:
mode:
authorStephen Hemminger2008-02-08 03:13:00 +0100
committerDavid S. Miller2008-02-08 03:13:00 +0100
commit04f217aca4d803fe72c2c54fe460d68f5233ce52 (patch)
treea272e05b77afa50d868b08ce79daa22808aeef01 /include/net/tipc
parent[IPV6] Minor cleanup: remove unused definitions in net/ip6_fib.h (diff)
downloadkernel-qcow2-linux-04f217aca4d803fe72c2c54fe460d68f5233ce52.tar.gz
kernel-qcow2-linux-04f217aca4d803fe72c2c54fe460d68f5233ce52.tar.xz
kernel-qcow2-linux-04f217aca4d803fe72c2c54fe460d68f5233ce52.zip
[TC]: oops in em_meta
If userspace passes a unknown match index into em_meta, then em_meta_change will return an error and the data for the match will not be set. This then causes an null pointer dereference when the cleanup is done in the error path via tcf_em_tree_destroy. Since the tree structure comes kzalloc, it is initialized to NULL. Discovered when testing a new version of tc command against an accidental older kernel. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/tipc')
0 files changed, 0 insertions, 0 deletions