Browse Source

tc: export tc_defact.h to userspace

Jamal sent patch to add tc user simple actions to iproute2
but required header was not being exported.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
stephen hemminger 11 years ago
parent
commit
5bc3db5c9c
2 changed files with 2 additions and 1 deletions
  1. 1 0
      include/uapi/linux/tc_act/Kbuild
  2. 1 1
      include/uapi/linux/tc_act/tc_defact.h

+ 1 - 0
include/uapi/linux/tc_act/Kbuild

@@ -1,5 +1,6 @@
 # UAPI Header export list
 header-y += tc_csum.h
+header-y += tc_defact.h
 header-y += tc_gact.h
 header-y += tc_ipt.h
 header-y += tc_mirred.h

+ 1 - 1
include/linux/tc_act/tc_defact.h → include/uapi/linux/tc_act/tc_defact.h

@@ -6,7 +6,7 @@
 struct tc_defact {
 	tc_gen;
 };
-                                                                                
+
 enum {
 	TCA_DEF_UNSPEC,
 	TCA_DEF_TM,