diff options
author | David Woodhouse <dwmw2@shinybook.infradead.org> | 2005-07-27 09:14:13 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@shinybook.infradead.org> | 2005-07-27 09:14:13 -0400 |
commit | c5fbc3966f48279dbebfde10248c977014aa9988 (patch) | |
tree | 0a52f645d89f91952c26b215f460a4ba195ca42c /include/linux | |
parent | 39299d9d15c41cbdd7c7009967cd35afaf34d8fa (diff) | |
parent | 9e566d8bd61f939b7f5d7d969f5b178571471cf9 (diff) |
Merge with master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/netfilter_ipv4/ip_conntrack.h | 5 | ||||
-rw-r--r-- | include/linux/netfilter_ipv4/ip_conntrack_helper.h | 7 | ||||
-rw-r--r-- | include/linux/netlink.h | 2 | ||||
-rw-r--r-- | include/linux/pci_ids.h | 13 | ||||
-rw-r--r-- | include/linux/reboot.h | 16 | ||||
-rw-r--r-- | include/linux/skbuff.h | 3 | ||||
-rw-r--r-- | include/linux/tc_ematch/tc_em_meta.h | 5 |
7 files changed, 40 insertions, 11 deletions
diff --git a/include/linux/netfilter_ipv4/ip_conntrack.h b/include/linux/netfilter_ipv4/ip_conntrack.h index 3781192ce159..08fe5f7d14a0 100644 --- a/include/linux/netfilter_ipv4/ip_conntrack.h +++ b/include/linux/netfilter_ipv4/ip_conntrack.h | |||
@@ -197,6 +197,9 @@ struct ip_conntrack_expect | |||
197 | /* Timer function; deletes the expectation. */ | 197 | /* Timer function; deletes the expectation. */ |
198 | struct timer_list timeout; | 198 | struct timer_list timeout; |
199 | 199 | ||
200 | /* Usage count. */ | ||
201 | atomic_t use; | ||
202 | |||
200 | #ifdef CONFIG_IP_NF_NAT_NEEDED | 203 | #ifdef CONFIG_IP_NF_NAT_NEEDED |
201 | /* This is the original per-proto part, used to map the | 204 | /* This is the original per-proto part, used to map the |
202 | * expected connection the way the recipient expects. */ | 205 | * expected connection the way the recipient expects. */ |
@@ -236,7 +239,7 @@ ip_conntrack_get(const struct sk_buff *skb, enum ip_conntrack_info *ctinfo) | |||
236 | } | 239 | } |
237 | 240 | ||
238 | /* decrement reference count on a conntrack */ | 241 | /* decrement reference count on a conntrack */ |
239 | extern inline void ip_conntrack_put(struct ip_conntrack *ct); | 242 | extern void ip_conntrack_put(struct ip_conntrack *ct); |
240 | 243 | ||
241 | /* call to create an explicit dependency on ip_conntrack. */ | 244 | /* call to create an explicit dependency on ip_conntrack. */ |
242 | extern void need_ip_conntrack(void); | 245 | extern void need_ip_conntrack(void); |
diff --git a/include/linux/netfilter_ipv4/ip_conntrack_helper.h b/include/linux/netfilter_ipv4/ip_conntrack_helper.h index b1bbba0a12cb..3692daa93dec 100644 --- a/include/linux/netfilter_ipv4/ip_conntrack_helper.h +++ b/include/linux/netfilter_ipv4/ip_conntrack_helper.h | |||
@@ -30,9 +30,10 @@ extern int ip_conntrack_helper_register(struct ip_conntrack_helper *); | |||
30 | extern void ip_conntrack_helper_unregister(struct ip_conntrack_helper *); | 30 | extern void ip_conntrack_helper_unregister(struct ip_conntrack_helper *); |
31 | 31 | ||
32 | /* Allocate space for an expectation: this is mandatory before calling | 32 | /* Allocate space for an expectation: this is mandatory before calling |
33 | ip_conntrack_expect_related. */ | 33 | ip_conntrack_expect_related. You will have to call put afterwards. */ |
34 | extern struct ip_conntrack_expect *ip_conntrack_expect_alloc(void); | 34 | extern struct ip_conntrack_expect * |
35 | extern void ip_conntrack_expect_free(struct ip_conntrack_expect *exp); | 35 | ip_conntrack_expect_alloc(struct ip_conntrack *master); |
36 | extern void ip_conntrack_expect_put(struct ip_conntrack_expect *exp); | ||
36 | 37 | ||
37 | /* Add an expected connection: can have more than one per connection */ | 38 | /* Add an expected connection: can have more than one per connection */ |
38 | extern int ip_conntrack_expect_related(struct ip_conntrack_expect *exp); | 39 | extern int ip_conntrack_expect_related(struct ip_conntrack_expect *exp); |
diff --git a/include/linux/netlink.h b/include/linux/netlink.h index 2f0c085f2c7d..70c2a9dc4b2b 100644 --- a/include/linux/netlink.h +++ b/include/linux/netlink.h | |||
@@ -5,7 +5,7 @@ | |||
5 | #include <linux/types.h> | 5 | #include <linux/types.h> |
6 | 6 | ||
7 | #define NETLINK_ROUTE 0 /* Routing/device hook */ | 7 | #define NETLINK_ROUTE 0 /* Routing/device hook */ |
8 | #define NETLINK_SKIP 1 /* Reserved for ENskip */ | 8 | #define NETLINK_W1 1 /* 1-wire subsystem */ |
9 | #define NETLINK_USERSOCK 2 /* Reserved for user mode socket protocols */ | 9 | #define NETLINK_USERSOCK 2 /* Reserved for user mode socket protocols */ |
10 | #define NETLINK_FIREWALL 3 /* Firewalling hook */ | 10 | #define NETLINK_FIREWALL 3 /* Firewalling hook */ |
11 | #define NETLINK_TCPDIAG 4 /* TCP socket monitoring */ | 11 | #define NETLINK_TCPDIAG 4 /* TCP socket monitoring */ |
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index 27348c22dacb..d2ad2c4f835a 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h | |||
@@ -911,6 +911,15 @@ | |||
911 | #define PCI_DEVICE_ID_QLOGIC_ISP1022 0x1022 | 911 | #define PCI_DEVICE_ID_QLOGIC_ISP1022 0x1022 |
912 | #define PCI_DEVICE_ID_QLOGIC_ISP2100 0x2100 | 912 | #define PCI_DEVICE_ID_QLOGIC_ISP2100 0x2100 |
913 | #define PCI_DEVICE_ID_QLOGIC_ISP2200 0x2200 | 913 | #define PCI_DEVICE_ID_QLOGIC_ISP2200 0x2200 |
914 | #define PCI_DEVICE_ID_QLOGIC_ISP2300 0x2300 | ||
915 | #define PCI_DEVICE_ID_QLOGIC_ISP2312 0x2312 | ||
916 | #define PCI_DEVICE_ID_QLOGIC_ISP2322 0x2322 | ||
917 | #define PCI_DEVICE_ID_QLOGIC_ISP6312 0x6312 | ||
918 | #define PCI_DEVICE_ID_QLOGIC_ISP6322 0x6322 | ||
919 | #define PCI_DEVICE_ID_QLOGIC_ISP2422 0x2422 | ||
920 | #define PCI_DEVICE_ID_QLOGIC_ISP2432 0x2432 | ||
921 | #define PCI_DEVICE_ID_QLOGIC_ISP2512 0x2512 | ||
922 | #define PCI_DEVICE_ID_QLOGIC_ISP2522 0x2522 | ||
914 | 923 | ||
915 | #define PCI_VENDOR_ID_CYRIX 0x1078 | 924 | #define PCI_VENDOR_ID_CYRIX 0x1078 |
916 | #define PCI_DEVICE_ID_CYRIX_5510 0x0000 | 925 | #define PCI_DEVICE_ID_CYRIX_5510 0x0000 |
@@ -1872,6 +1881,7 @@ | |||
1872 | #define PCI_DEVICE_ID_CBOARDS_DAS1602_16 0x0001 | 1881 | #define PCI_DEVICE_ID_CBOARDS_DAS1602_16 0x0001 |
1873 | 1882 | ||
1874 | #define PCI_VENDOR_ID_SIIG 0x131f | 1883 | #define PCI_VENDOR_ID_SIIG 0x131f |
1884 | #define PCI_SUBVENDOR_ID_SIIG 0x131f | ||
1875 | #define PCI_DEVICE_ID_SIIG_1S_10x_550 0x1000 | 1885 | #define PCI_DEVICE_ID_SIIG_1S_10x_550 0x1000 |
1876 | #define PCI_DEVICE_ID_SIIG_1S_10x_650 0x1001 | 1886 | #define PCI_DEVICE_ID_SIIG_1S_10x_650 0x1001 |
1877 | #define PCI_DEVICE_ID_SIIG_1S_10x_850 0x1002 | 1887 | #define PCI_DEVICE_ID_SIIG_1S_10x_850 0x1002 |
@@ -1909,6 +1919,7 @@ | |||
1909 | #define PCI_DEVICE_ID_SIIG_2S1P_20x_550 0x2060 | 1919 | #define PCI_DEVICE_ID_SIIG_2S1P_20x_550 0x2060 |
1910 | #define PCI_DEVICE_ID_SIIG_2S1P_20x_650 0x2061 | 1920 | #define PCI_DEVICE_ID_SIIG_2S1P_20x_650 0x2061 |
1911 | #define PCI_DEVICE_ID_SIIG_2S1P_20x_850 0x2062 | 1921 | #define PCI_DEVICE_ID_SIIG_2S1P_20x_850 0x2062 |
1922 | #define PCI_SUBDEVICE_ID_SIIG_QUARTET_SERIAL 0x2050 | ||
1912 | 1923 | ||
1913 | #define PCI_VENDOR_ID_RADISYS 0x1331 | 1924 | #define PCI_VENDOR_ID_RADISYS 0x1331 |
1914 | #define PCI_DEVICE_ID_RADISYS_ENP2611 0x0030 | 1925 | #define PCI_DEVICE_ID_RADISYS_ENP2611 0x0030 |
@@ -2096,6 +2107,8 @@ | |||
2096 | #define PCI_DEVICE_ID_TIGON3_5721 0x1659 | 2107 | #define PCI_DEVICE_ID_TIGON3_5721 0x1659 |
2097 | #define PCI_DEVICE_ID_TIGON3_5705M 0x165d | 2108 | #define PCI_DEVICE_ID_TIGON3_5705M 0x165d |
2098 | #define PCI_DEVICE_ID_TIGON3_5705M_2 0x165e | 2109 | #define PCI_DEVICE_ID_TIGON3_5705M_2 0x165e |
2110 | #define PCI_DEVICE_ID_TIGON3_5780 0x166a | ||
2111 | #define PCI_DEVICE_ID_TIGON3_5780S 0x166b | ||
2099 | #define PCI_DEVICE_ID_TIGON3_5705F 0x166e | 2112 | #define PCI_DEVICE_ID_TIGON3_5705F 0x166e |
2100 | #define PCI_DEVICE_ID_TIGON3_5750 0x1676 | 2113 | #define PCI_DEVICE_ID_TIGON3_5750 0x1676 |
2101 | #define PCI_DEVICE_ID_TIGON3_5751 0x1677 | 2114 | #define PCI_DEVICE_ID_TIGON3_5751 0x1677 |
diff --git a/include/linux/reboot.h b/include/linux/reboot.h index 2d4dd23168dd..3b3266ff1a95 100644 --- a/include/linux/reboot.h +++ b/include/linux/reboot.h | |||
@@ -55,6 +55,22 @@ extern void machine_shutdown(void); | |||
55 | struct pt_regs; | 55 | struct pt_regs; |
56 | extern void machine_crash_shutdown(struct pt_regs *); | 56 | extern void machine_crash_shutdown(struct pt_regs *); |
57 | 57 | ||
58 | /* | ||
59 | * Architecture independent implemenations of sys_reboot commands. | ||
60 | */ | ||
61 | |||
62 | extern void kernel_restart(char *cmd); | ||
63 | extern void kernel_halt(void); | ||
64 | extern void kernel_power_off(void); | ||
65 | extern void kernel_kexec(void); | ||
66 | |||
67 | /* | ||
68 | * Emergency restart, callable from an interrupt handler. | ||
69 | */ | ||
70 | |||
71 | extern void emergency_restart(void); | ||
72 | #include <asm/emergency-restart.h> | ||
73 | |||
58 | #endif | 74 | #endif |
59 | 75 | ||
60 | #endif /* _LINUX_REBOOT_H */ | 76 | #endif /* _LINUX_REBOOT_H */ |
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index 5d4a990d5577..0061c9470482 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h | |||
@@ -502,7 +502,8 @@ static inline struct sk_buff *skb_share_check(struct sk_buff *skb, | |||
502 | * | 502 | * |
503 | * %NULL is returned on a memory allocation failure. | 503 | * %NULL is returned on a memory allocation failure. |
504 | */ | 504 | */ |
505 | static inline struct sk_buff *skb_unshare(struct sk_buff *skb, int pri) | 505 | static inline struct sk_buff *skb_unshare(struct sk_buff *skb, |
506 | unsigned int __nocast pri) | ||
506 | { | 507 | { |
507 | might_sleep_if(pri & __GFP_WAIT); | 508 | might_sleep_if(pri & __GFP_WAIT); |
508 | if (skb_cloned(skb)) { | 509 | if (skb_cloned(skb)) { |
diff --git a/include/linux/tc_ematch/tc_em_meta.h b/include/linux/tc_ematch/tc_em_meta.h index bcb762d93123..081b1ee8516e 100644 --- a/include/linux/tc_ematch/tc_em_meta.h +++ b/include/linux/tc_ematch/tc_em_meta.h | |||
@@ -41,19 +41,14 @@ enum | |||
41 | TCF_META_ID_LOADAVG_1, | 41 | TCF_META_ID_LOADAVG_1, |
42 | TCF_META_ID_LOADAVG_2, | 42 | TCF_META_ID_LOADAVG_2, |
43 | TCF_META_ID_DEV, | 43 | TCF_META_ID_DEV, |
44 | TCF_META_ID_INDEV, | ||
45 | TCF_META_ID_REALDEV, | ||
46 | TCF_META_ID_PRIORITY, | 44 | TCF_META_ID_PRIORITY, |
47 | TCF_META_ID_PROTOCOL, | 45 | TCF_META_ID_PROTOCOL, |
48 | TCF_META_ID_SECURITY, /* obsolete */ | ||
49 | TCF_META_ID_PKTTYPE, | 46 | TCF_META_ID_PKTTYPE, |
50 | TCF_META_ID_PKTLEN, | 47 | TCF_META_ID_PKTLEN, |
51 | TCF_META_ID_DATALEN, | 48 | TCF_META_ID_DATALEN, |
52 | TCF_META_ID_MACLEN, | 49 | TCF_META_ID_MACLEN, |
53 | TCF_META_ID_NFMARK, | 50 | TCF_META_ID_NFMARK, |
54 | TCF_META_ID_TCINDEX, | 51 | TCF_META_ID_TCINDEX, |
55 | TCF_META_ID_TCVERDICT, | ||
56 | TCF_META_ID_TCCLASSID, | ||
57 | TCF_META_ID_RTCLASSID, | 52 | TCF_META_ID_RTCLASSID, |
58 | TCF_META_ID_RTIIF, | 53 | TCF_META_ID_RTIIF, |
59 | TCF_META_ID_SK_FAMILY, | 54 | TCF_META_ID_SK_FAMILY, |