Skip to content

Commit

Permalink
remove wrong precondition from validateEgressUp()
Browse files Browse the repository at this point in the history
  • Loading branch information
mlimbeck committed Jul 26, 2024
1 parent 1335655 commit d484489
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions router/dataplane.go
Original file line number Diff line number Diff line change
Expand Up @@ -3363,7 +3363,6 @@ func (p *scionPacketProcessor) egressInterface( /*@ ghost oldPkt io.IO_pkt2 @*/
// @ ensures acc(&p.infoField, R20)
// @ ensures acc(&p.hopField, R20)
// @ ensures acc(&p.ingressID, R21)
// @ preserves sl.Bytes(ub, 0, len(ub))
// @ ensures acc(&p.path, R20)
// @ ensures acc(&p.d, R50) && acc(p.d.Mem(), _)
// @ ensures acc(&p.buffWithFullPerm)
Expand Down Expand Up @@ -3732,7 +3731,7 @@ func (p *scionPacketProcessor) egressRouterAlertFlag() (res *bool) {
// @ requires slayers.ValidPktMetaHdr(ubScionL) && p.scionLayer.EqAbsHeader(ubScionL)
// @ requires absPkt(ubScionL).PathNotFullyTraversed()
// @ requires p.EqAbsHopField(absPkt(ubScionL))
// @ ensures old(p.DstIsLocalIngressID(ubScionL)) == p.DstIsLocalIngressID(ubScionL)
// @ ensures reserr == nil ==> old(p.DstIsLocalIngressID(ubScionL)) == p.DstIsLocalIngressID(ubScionL)
// @ ensures reserr == nil ==> slayers.ValidPktMetaHdr(ubScionL) && p.scionLayer.EqAbsHeader(ubScionL)
// @ ensures reserr == nil ==> old(p.LastHopLen(ubScionL)) == p.LastHopLen(ubScionL)
// @ ensures reserr == nil ==> old(p.EqAbsInfoField(absPkt(ubScionL))) == p.EqAbsInfoField(absPkt(ubScionL))
Expand Down

0 comments on commit d484489

Please sign in to comment.