diff options
author | Ghanan Gowripalan <ghanan@google.com> | 2021-09-17 15:31:19 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-09-17 15:37:08 -0700 |
commit | 7dacdbef528f7b556f23c1b02a360363dc556e31 (patch) | |
tree | 39f1b8fb51f3aaa830fcfc5459c15ff4bb75223f /pkg/sentry/kernel | |
parent | 4076153be6840c50ade746087b221a12d7bd2b3b (diff) |
Allow rebinding packet socket protocol
...to change the network protocol a packet socket may receive packets
from.
This CL is a portion of an originally larger CL that was split with
https://github.com/google/gvisor/commit/a8ad692fd36cbaf7f5a6b9af39d601053dbee338
being the dependent CL. That CL (accidentally) included the change in
the endpoint's `afterLoad` method to take the required lock when
accessing the endpoint's netProto field. That change should have been in
this CL.
The CL that made the change mentioned in the commit message is
cl/396946187.
PiperOrigin-RevId: 397412582
Diffstat (limited to 'pkg/sentry/kernel')
0 files changed, 0 insertions, 0 deletions