]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "openvswitch: potential NULL deref in sample()"
authorJesse Gross <jesse@nicira.com>
Fri, 27 Jul 2012 10:19:40 +0000 (10:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Jul 2012 20:45:51 +0000 (13:45 -0700)
commit6d11036766cfcd7f7a30a51e7ec73aa874bcbdd4
treed69db9413e18f4b702fdc6078b483207b4835d6b
parenta6ab41144da0af53602a0d6c1963ebef726cca08
Revert "openvswitch: potential NULL deref in sample()"

This reverts commit 3f7d66e135298bd8cb2cb24a554cfed85257707b.

The problem that the original commit was attempting to fix can
never happen in practice because validation is done one a per-flow
basis rather than a per-packet basis.  Adding additional checks at
runtime is unnecessary and inconsistent with the rest of the code.

CC: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/actions.c