odp-util: fix bug in setting ipv4 frag flag mask
authorAndy Zhou <azhou@nicira.com>
Wed, 31 Jul 2013 20:54:12 +0000 (13:54 -0700)
committerJesse Gross <jesse@nicira.com>
Wed, 31 Jul 2013 22:47:52 +0000 (15:47 -0700)
commit431495b10f1c3aa577b8306ad996c41ff0581309
treec055c028950459ae6ce24f2b03b04394de9dd0bf
parent7ceda296fa574aa0d2077306cf6311e88d6bb521
odp-util: fix bug in setting ipv4 frag flag mask

This bug causes the flag mask to always mask only 1 bit, not the 2 bits
possible. While at it, make the top 6 bits exact match.

Bug #18834.

Signed-off-by: Andy Zhou <azhou@nicira.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
lib/odp-util.c
tests/ofproto-dpif.at