X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fnetdev-linux.c;h=9a6d70a29dc578d0579df831b5d0220a840e787b;hb=b90fa799b93b5cc10f57e714909fb35ad472772e;hp=b8d24ed999cad953785f8862d8aa544812221c43;hpb=2158888d8d8f3b4c00dcf979390a19fa7fcf7942;p=openvswitch diff --git a/lib/netdev-linux.c b/lib/netdev-linux.c index b8d24ed9..9a6d70a2 100644 --- a/lib/netdev-linux.c +++ b/lib/netdev-linux.c @@ -1163,7 +1163,7 @@ netdev_linux_remove_policing(struct netdev *netdev) error = nl_sock_transact(rtnl_sock, &request, &reply); ofpbuf_uninit(&request); ofpbuf_delete(reply); - if (error && error != ENOENT) { + if (error && error != ENOENT && error != EINVAL) { VLOG_WARN_RL(&rl, "%s: removing policing failed: %s", netdev_name, strerror(error)); return error;