Fix null pointer dereference when a delete flow command is executed.
authorJustin Pettit <jpettit@nicira.com>
Fri, 19 Dec 2008 20:49:09 +0000 (12:49 -0800)
committerJustin Pettit <jpettit@nicira.com>
Fri, 19 Dec 2008 20:49:09 +0000 (12:49 -0800)
commit4848064f562bb1bb6d33fce6d9ce1f4bb3ec52d5
tree1c7cb0162232487ff40da7649cb9ee646d6cc158
parenta8f8875b392e10bdade8d2abeb909a229d0f5a11
Fix null pointer dereference when a delete flow command is executed.

A set of missing parentheses was causing an attempt to send a Flow End
message even if no flow existed.  The code to send the Flow End message
would try to access data in the flow and cause a kernel panic.
datapath/table-hash.c
datapath/table-linear.c