X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=datapath%2Fdatapath.c;h=9d163ea5f07c179fd73a537490e785b0b3e4919f;hb=3c71830aef987c86338d2d0223d4e6913aea25a4;hp=e0b03d9f49d332b4ce1f8c5062ce2383112cbe2b;hpb=be2c418b73fcb6c606725d84c18b0ad618082c75;p=sliver-openvswitch.git diff --git a/datapath/datapath.c b/datapath/datapath.c index e0b03d9f4..9d163ea5f 100644 --- a/datapath/datapath.c +++ b/datapath/datapath.c @@ -395,7 +395,7 @@ static int add_port(int dp_idx, struct odp_port __user *portp) for (port_no = 1; port_no < DP_MAX_PORTS; port_no++) if (!dp->ports[port_no]) goto got_port_no; - err = -EXFULL; + err = -EFBIG; goto out_unlock_dp; got_port_no: