Home | History | Annotate | Download | only in broken_ip
      1 #!/bin/sh
      2 
      3 # Copyright (c) 2014 Oracle and/or its affiliates. All Rights Reserved.
      4 # Copyright (c) International Business Machines  Corp., 2006
      5 #
      6 # This program is free software; you can redistribute it and/or
      7 # modify it under the terms of the GNU General Public License as
      8 # published by the Free Software Foundation; either version 2 of
      9 # the License, or (at your option) any later version.
     10 #
     11 # This program is distributed in the hope that it would be useful,
     12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
     13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     14 # GNU General Public License for more details.
     15 #
     16 # You should have received a copy of the GNU General Public License
     17 # along with this program; if not, write the Free Software Foundation,
     18 # Inc.,  51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     19 #
     20 # Author: Mitsuru Chinen <mitch (at] jp.ibm.com>
     21 
     22 TCID=broken_ip6-nexthdr01
     23 TST_TOTAL=1
     24 
     25 . broken_ip6_lib.sh
     26 
     27 tst_resm TINFO "Verify that the kernel is not crashed with receiving \
     28 a large number of IPv6 packets that have wrong value in the next header field."
     29 
     30 tst_rhost_run -s -c "ns-icmpv6_sender -I $(tst_iface rhost) -S $rhost_addr \
     31 	-M $(tst_hwaddr lhost) -D $lhost_addr -s 56 -t $NS_DURATION -n"
     32 
     33 tst_resm TPASS "Test is finished successfully."
     34 
     35 tst_exit
     36