#!/bin/bash # netsniff-ng - the packet sniffing beast # By Emmanuel Roullit # Copyright 2009, 2011 Emmanuel Roullit. # Subject to the GPL, version 2. nacl_include_path="$1" nacl_lib_path="$2" if test -z $nacl_include_path || test -z $nacl_lib_path; then echo "Please input the path where NaCl is like the following:" echo "./$0.sh " exit 1 fi echo "export NACL_INC_DIR=$nacl_include_path" >> ~/.bashrc echo "export NACL_LIB_DIR=$nacl_lib_path" >> ~/.bashrc tanz.ch/cgit.cgi/linux/net-next.git' title='net-next.git Git repository'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlad Yasevich <vyasevich@gmail.com>2017-01-29 22:52:53 -0500
committerDavid S. Miller <davem@davemloft.net>2017-01-30 15:51:12 -0500
commit2b89ed65a6f201a6a4f0450ad289aa4bf491608c (patch)
tree84d46ed640f648af30847b308ccc88a467dba2df
parentd585df1c5ccf995fcee910705ad7a9cdd11d4152 (diff)
ipv6: Paritially checksum full MTU frames
IPv6 will mark data that is smaller that mtu - headersize as CHECKSUM_PARTIAL, but if the data will completely fill the mtu, the packet checksum will be computed in software instead. Extend the conditional to include the data that fills the mtu as well. Signed-off-by: Vladislav Yasevich <vyasevic@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>