diff options
Diffstat (limited to 'include/linux/rtnetlink.h')
-rw-r--r-- | include/linux/rtnetlink.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/include/linux/rtnetlink.h b/include/linux/rtnetlink.h index b358c704d102..2b3d51c6ec9c 100644 --- a/include/linux/rtnetlink.h +++ b/include/linux/rtnetlink.h | |||
@@ -482,6 +482,7 @@ enum | |||
482 | TCA_RATE, | 482 | TCA_RATE, |
483 | TCA_FCNT, | 483 | TCA_FCNT, |
484 | TCA_STATS2, | 484 | TCA_STATS2, |
485 | TCA_STAB, | ||
485 | __TCA_MAX | 486 | __TCA_MAX |
486 | }; | 487 | }; |
487 | 488 | ||
@@ -581,6 +582,10 @@ enum rtnetlink_groups { | |||
581 | #define RTNLGRP_IPV6_RULE RTNLGRP_IPV6_RULE | 582 | #define RTNLGRP_IPV6_RULE RTNLGRP_IPV6_RULE |
582 | RTNLGRP_ND_USEROPT, | 583 | RTNLGRP_ND_USEROPT, |
583 | #define RTNLGRP_ND_USEROPT RTNLGRP_ND_USEROPT | 584 | #define RTNLGRP_ND_USEROPT RTNLGRP_ND_USEROPT |
585 | RTNLGRP_PHONET_IFADDR, | ||
586 | #define RTNLGRP_PHONET_IFADDR RTNLGRP_PHONET_IFADDR | ||
587 | RTNLGRP_PHONET_ROUTE, | ||
588 | #define RTNLGRP_PHONET_ROUTE RTNLGRP_PHONET_ROUTE | ||
584 | __RTNLGRP_MAX | 589 | __RTNLGRP_MAX |
585 | }; | 590 | }; |
586 | #define RTNLGRP_MAX (__RTNLGRP_MAX - 1) | 591 | #define RTNLGRP_MAX (__RTNLGRP_MAX - 1) |
@@ -754,13 +759,6 @@ extern void __rtnl_unlock(void); | |||
754 | } \ | 759 | } \ |
755 | } while(0) | 760 | } while(0) |
756 | 761 | ||
757 | #define BUG_TRAP(x) do { \ | ||
758 | if (unlikely(!(x))) { \ | ||
759 | printk(KERN_ERR "KERNEL: assertion (%s) failed at %s (%d)\n", \ | ||
760 | #x, __FILE__ , __LINE__); \ | ||
761 | } \ | ||
762 | } while(0) | ||
763 | |||
764 | static inline u32 rtm_get_table(struct rtattr **rta, u8 table) | 762 | static inline u32 rtm_get_table(struct rtattr **rta, u8 table) |
765 | { | 763 | { |
766 | return RTA_GET_U32(rta[RTA_TABLE-1]); | 764 | return RTA_GET_U32(rta[RTA_TABLE-1]); |