]> git.proxmox.com Git - mirror_iproute2.git/commit
bpf: fix warnings on gcc-8 about string truncation
authorStephen Hemminger <stephen@networkplumber.org>
Fri, 20 Apr 2018 17:38:00 +0000 (10:38 -0700)
committerStephen Hemminger <stephen@networkplumber.org>
Fri, 20 Apr 2018 17:38:00 +0000 (10:38 -0700)
commit260a92afe65b78cb775b36ca8fc15b03239d8b76
tree1b7dd2f8d968b5885478f38e7042360647982842
parent0aaf62fcb669d4709c52e3b686966a7fbe999640
bpf: fix warnings on gcc-8 about string truncation

In theory, the path for BPF could exceed the 4K PATH_MAX.
In practice, not really possible. But shut up gcc.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
lib/bpf.c