aboutsummaryrefslogtreecommitdiffstats
path: root/docs/gettingstarted/installing/ubuntu.rst
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2022-03-11 11:12:56 +0000
committerFlorin Coras <florin.coras@gmail.com>2022-03-11 16:30:23 +0000
commit9c32f05751ca92239f0cc667a8d696dec86c9db8 (patch)
tree743443c576555aac5915c2982a6a1e20aed9fc43 /docs/gettingstarted/installing/ubuntu.rst
parent9652177bc12171bb7141ef7a92e0053204f7ed87 (diff)
session: fix crash during client detach
This fixes a crash caused by client closing socket before adding worker. During detach vpp tries to delete worker based on invalid worker index. Type: fix Signed-off-by: Filip Tehlar <ftehlar@cisco.com> Change-Id: I3242bcbb116ef5fd1d4c449f5bcf907e4e2f8f30
Diffstat (limited to 'docs/gettingstarted/installing/ubuntu.rst')
0 files changed, 0 insertions, 0 deletions
l.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
set int state tuntap-0 down
set int ip address GigabitEthernet2/1/0 1.2.3.4/24

set int state GigabitEthernet2/1/0 up
cre sub GigabitEthernet2/1/0 1 dot1q 7
set int state GigabitEthernet2/1/0.1 up

set int state GigabitEthernet2/2/0 up
cre sub GigabitEthernet2/2/0 1 dot1q 9
set int state GigabitEthernet2/2/0.1 up


loop create
set int l2 bridge loop0 0 bvi
set int ip table loop0 0
set int state loop0 up


set int l2 bridge GigabitEthernet2/1/0.1 0
set int l2 bridge GigabitEthernet2/2/0.1 0

set int l2 tag-rewrite GigabitEthernet2/1/0.1 pop 1
set int l2 tag-rewrite GigabitEthernet2/2/0.1 pop 1

l2fib add 00:22:44:06:08:0a    0  GigabitEthernet2/1/0.1 static
l2fib add 00:02:04:06:08:0a    0  GigabitEthernet2/2/0.1 static


ip route table 0 8.0.0.1/32 via loop0
set ip neighbor loop0 8.0.0.1 00:02:04:06:08:0a


ip route add 1.2.3.3/32 via GigabitEthernet2/1/0 IP4: 00:15:17:61:73:47 -> 00:15:17:61:73:46

cle er
cle int
cle run

packet-generator new {					\
  name bvi_to_l2 					\
  limit 100						\
  node ethernet-input					\
  interface GigabitEthernet2/1/0			\
  data {						\
      IP4: 0050.56b7.7c83 -> 0050.56b7.296d 		\
      GRE: 1.2.3.3 -> 8.0.0.1 mpls_unicast 		\
  }
}

packet-generator new {					\
  name l2_to_bvi					\
  limit 50						\
  node ethernet-input					\
  interface GigabitEthernet2/2/0			\
  data {						\
      IP4: 0050.56b7.7c83 -> dead.0000.0000  vlan 9	\
      GRE: 8.0.0.1 -> 1.2.3.3 mpls_unicast 		\
  }							\
}

packet-generator new {					\
  name l2_to_bvi_via_flood				\
  limit 25						\
  node ethernet-input					\
  interface GigabitEthernet2/2/0			\
  data {						\
      IP4: 0050.56b7.7c83 -> ffff.ffff.ffff  vlan 9	\
      GRE: 8.0.0.1 -> 1.2.3.3 mpls_unicast 		\
  }							\
}