aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/unittest/bihash_test.c
diff options
context:
space:
mode:
authorMatthew Smith <mgsmith@netgate.com>2022-08-19 19:54:40 +0000
committerNeale Ranns <neale@graphiant.com>2022-08-23 22:12:58 +0000
commit9cd37fb28ce03b22a741e2be31250790b11182e0 (patch)
treeb21a1ab08c8a44f0206291a145ada6288d096017 /src/plugins/unittest/bihash_test.c
parent1a1c59d1a20ce834ee2296e9b12321410bbabac9 (diff)
linux-cp: handle AF_BRIDGE neighbors
Type: improvement VPP crashes when a linux-cp tap is added to a bridge on the host system because rtnl_neigh_get_dst() returns NULL for the neighbor message that is sent by the kernel. Check for NULL before trying to use the address from a neighbor in a netlink message. Signed-off-by: Matthew Smith <mgsmith@netgate.com> Change-Id: I8a683d815a09620df9c0cc76e18df39828428e2c Signed-off-by: Matthew Smith <mgsmith@netgate.com>
Diffstat (limited to 'src/plugins/unittest/bihash_test.c')
0 files changed, 0 insertions, 0 deletions
; 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 */
AC_INIT(jvpp, 17.01)
LT_INIT
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE
AM_SILENT_RULES([yes])

AC_PROG_CC

if test -f /usr/bin/lsb_release  && test `lsb_release -si` == "Ubuntu"  && test `lsb_release -sr` == "14.04"  && test -d /usr/lib/jvm/java-8-openjdk-amd64/ ; then
    JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/
    JAVAC=${JAVA_HOME}/bin/javac
    PATH=${JAVA_HOME}/bin/:${PATH}
    break
fi

AX_CHECK_JAVA_HOME
AX_PROG_JAVAC
AX_PROG_JAVAH
AX_PROG_JAR
AX_PROG_JAVADOC
AX_PROG_JAVA

AC_OUTPUT([Makefile])