diff options
author | YAMAMOTO Takashi <yamamoto@valinux.co.jp> | 2013-09-26 13:08:07 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2013-09-25 22:26:28 -0700 |
commit | a53bc8052dea1fa59b5dd5470c1c29b768cd84ce (patch) | |
tree | fad2e4383869b46bcfea5f1a08bbe235060dd3de /.pylintrc | |
parent | 54989c7862269f6bf850297ddef5afe6f2da24eb (diff) |
ofproto: fix OF1.0 packet_in parser
OF1.0 spec says OFP_ASSERT(sizeof(struct ofp_packet_in) == 20).
It's quite bogus as it assumes a specific class of C implementations.
(well, if it was C. it's unclear from the spec itself.)
We just use the real size of the structure as this is not C. This
agrees with on-wire messages OpenFlow Reference Release and Open vSwitch
produce.
This should fix a crash Chen Chen reported on ryu-devel recently.
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to '.pylintrc')
0 files changed, 0 insertions, 0 deletions