summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/socket
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-11-02 02:06:49 +0000
committergVisor bot <gvisor-bot@google.com>2020-11-02 02:06:49 +0000
commit8e9e988f00cf1f62a66005b41fc21b81eae83df9 (patch)
treedd71e0a0b8025aa6da94f1158e1cec5d39032a9b /pkg/sentry/socket
parent2929b6f1f86a65923fe319dc9dabd9c01e0fb25f (diff)
parent5e606844df577936ebcd13225da85eda80317021 (diff)
Merge release-20201019.0-116-g5e606844d (automated)
Diffstat (limited to 'pkg/sentry/socket')
-rw-r--r--pkg/sentry/socket/netlink/route/protocol.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/socket/netlink/route/protocol.go b/pkg/sentry/socket/netlink/route/protocol.go
index 22216158e..f4d034c13 100644
--- a/pkg/sentry/socket/netlink/route/protocol.go
+++ b/pkg/sentry/socket/netlink/route/protocol.go
@@ -487,7 +487,7 @@ func (p *Protocol) delAddr(ctx context.Context, msg *netlink.Message, ms *netlin
Addr: value,
})
if err != nil {
- return syserr.ErrInvalidArgument
+ return syserr.ErrBadLocalAddress
}
case linux.IFA_ADDRESS:
default: