From: Ben Pfaff Date: Wed, 15 Sep 2010 19:47:10 +0000 (-0700) Subject: ofp-util: Also accept NXAST_DROP_SPOOFED_ARP. X-Git-Tag: v1.1.0~1135 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=92467099ee05b930b060d34d05b81bb1322e6fbf;p=sliver-openvswitch.git ofp-util: Also accept NXAST_DROP_SPOOFED_ARP. Reported-by: Bryan Fulton Reported-by: Michael Mao Bug #3655. --- diff --git a/AUTHORS b/AUTHORS index bf0e34271..9e1dfa0b9 100644 --- a/AUTHORS +++ b/AUTHORS @@ -33,6 +33,7 @@ The following additional people are mentioned in commit logs as having provided helpful bug reports or suggestions. Brandon Heller brandonh@stanford.edu +Bryan Fulton bryan@nicira.com Cedric Hobbs cedric@nicira.com Ghanem Bahri bahri.ghanem@gmail.com Henrik Amren henrik@nicira.com diff --git a/lib/ofp-util.c b/lib/ofp-util.c index 89f368950..5171900a7 100644 --- a/lib/ofp-util.c +++ b/lib/ofp-util.c @@ -564,6 +564,7 @@ check_nicira_action(const union ofp_action *a, unsigned int len) switch (ntohs(nah->subtype)) { case NXAST_RESUBMIT: case NXAST_SET_TUNNEL: + case NXAST_DROP_SPOOFED_ARP: return check_action_exact_len(a, len, 16); default: return ofp_mkerr(OFPET_BAD_ACTION, OFPBAC_BAD_VENDOR_TYPE);