]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
text ematch: check for NULL pointer before destroying textsearch config
authorThomas Graf <tgraf@infradead.org>
Sun, 31 Oct 2010 16:37:38 +0000 (09:37 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 31 Oct 2010 16:37:38 +0000 (09:37 -0700)
commit5ec1cea057495b8f10bab0c1396a9d8e46b7b0a8
tree2115be233a12ce363f669831f5a2a554bafc8565
parent636f8c6f682ee179ff39c94dc4d0be0ddd6c8cdd
text ematch: check for NULL pointer before destroying textsearch config

While validating the configuration em_ops is already set, thus the
individual destroy functions are called, but the ematch data has
not been allocated and associated with the ematch yet.

Signed-off-by: Thomas Graf <tgraf@infradead.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/em_text.c