diff options
author | Jesse Gross <jesse@nicira.com> | 2012-08-07 00:49:47 +0200 |
---|---|---|
committer | Jesse Gross <jesse@nicira.com> | 2012-08-07 00:49:47 +0200 |
commit | 4185392da4b4b494e51934c51b999b4df424afba (patch) | |
tree | d007cf7c590f1f74674db208099ca772f90f2d5c /net/rds | |
parent | Linux 3.6-rc1 (diff) | |
download | linux-4185392da4b4b494e51934c51b999b4df424afba.tar.xz linux-4185392da4b4b494e51934c51b999b4df424afba.zip |
openvswitch: Relax set header validation.
When installing a flow with an action to set a particular field we
need to validate that the packets that are part of the flow actually
contain that header. With IP we use zeroed addresses and with TCP/UDP
the check is for zeroed ports. This check is overly broad and can catch
packets like DHCP requests that have a zero source address in a
legitimate header. This changes the check to look for a zeroed protocol
number for IP or for both ports be zero for TCP/UDP before considering
the header to not exist.
Reported-by: Ethan Jackson <ethan@nicira.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
Diffstat (limited to 'net/rds')
0 files changed, 0 insertions, 0 deletions