#!/bin/sh # # Script which prints out the version to use for building cpupowerutils. # Must be called from tools/power/cpupower/ # # Heavily based on tools/perf/util/PERF-VERSION-GEN . LF=' ' # First check if there is a .git to get the version from git describe # otherwise try to get the version from the kernel makefile if test -d ../../../.git -o -f ../../../.git && VN=$(git describe --abbrev=4 HEAD 2>/dev/null) && case "$VN" in *$LF*) (exit 1) ;; v[0-9]*) git update-index -q --refresh test -z "$(git diff-index --name-only HEAD --)" || VN="$VN-dirty" ;; esac then VN=$(echo "$VN" | sed -e 's/-/./g'); else eval $(grep '^VERSION[[:space:]]*=' ../../../Makefile|tr -d ' ') eval $(grep '^PATCHLEVEL[[:space:]]*=' ../../../Makefile|tr -d ' ') eval $(grep '^SUBLEVEL[[:space:]]*=' ../../../Makefile|tr -d ' ') eval $(grep '^EXTRAVERSION[[:space:]]*=' ../../../Makefile|tr -d ' ') VN="${VERSION}.${PATCHLEVEL}.${SUBLEVEL}${EXTRAVERSION}" fi VN=$(expr "$VN" : v*'\(.*\)') echo $VN e='this.form.submit();'> net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/net/openvswitch
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2017-01-23 18:21:56 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2017-02-02 14:31:53 +0100
commitcb9c68363efb6d1f950ec55fb06e031ee70db5fc (patch)
tree081b7de4d5d3bb069beeaa17328f068686aae810 /net/openvswitch
parent97a6ad13decc16c5adbf181283932daba7e17faf (diff)
skbuff: add and use skb_nfct helper
Followup patch renames skb->nfct and changes its type so add a helper to avoid intrusive rename change later. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/openvswitch')
-rw-r--r--net/openvswitch/conntrack.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/openvswitch/conntrack.c b/net/openvswitch/conntrack.c