diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-19 10:52:45 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-19 10:52:45 -0500 |
commit | 07ce198a1eb3431d04a6d59ea9fb7b71f21e33b1 (patch) | |
tree | fe6e6208bdcdfb7bbb0c81923efcb75bf73a299b /include | |
parent | 4bc87e62775052aac0be7574d5f84ff06f61c6b4 (diff) | |
parent | a442585952f137bd4cdb1f2f3166e4157d383b82 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (60 commits)
[NIU]: Bump driver version and release date.
[NIU]: Fix BMAC alternate MAC address indexing.
net: fix kernel-doc warnings in header files
[IPV6]: Use BUG_ON instead of if + BUG in fib6_del_route.
[IPV6]: dst_entry leak in ip4ip6_err. (resend)
bluetooth: do not move child device other than rfcomm
bluetooth: put hci dev after del conn
[NET]: Elminate spurious print_mac() calls.
[BLUETOOTH] hci_sysfs.c: Kill build warning.
[NET]: Remove MAC_FMT
net/8021q/vlan_dev.c: Use print_mac.
[XFRM]: Fix ordering issue in xfrm_dst_hash_transfer().
[BLUETOOTH] net/bluetooth/hci_core.c: Use time_* macros
[IPV6]: Fix hardcoded removing of old module code
[NETLABEL]: Move some initialization code into __init section.
[NETLABEL]: Shrink the genl-ops registration code.
[AX25] ax25_out: check skb for NULL in ax25_kick()
[TCP]: Fix tcp_v4_send_synack() comment
[IPV4]: fix alignment of IP-Config output
Documentation: fix tcp.txt
...
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/if_ether.h | 3 | ||||
-rw-r--r-- | include/linux/skbuff.h | 2 | ||||
-rw-r--r-- | include/net/sock.h | 1 |
3 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/if_ether.h b/include/linux/if_ether.h index e157c1399b61..42dc6a3571ec 100644 --- a/include/linux/if_ether.h +++ b/include/linux/if_ether.h | |||
@@ -129,8 +129,7 @@ extern ssize_t sysfs_format_mac(char *buf, const unsigned char *addr, int len); | |||
129 | /* | 129 | /* |
130 | * Display a 6 byte device address (MAC) in a readable format. | 130 | * Display a 6 byte device address (MAC) in a readable format. |
131 | */ | 131 | */ |
132 | extern char *print_mac(char *buf, const unsigned char *addr); | 132 | extern __pure char *print_mac(char *buf, const unsigned char *addr); |
133 | #define MAC_FMT "%02x:%02x:%02x:%02x:%02x:%02x" | ||
134 | #define MAC_BUF_SIZE 18 | 133 | #define MAC_BUF_SIZE 18 |
135 | #define DECLARE_MAC_BUF(var) char var[MAC_BUF_SIZE] __maybe_unused | 134 | #define DECLARE_MAC_BUF(var) char var[MAC_BUF_SIZE] __maybe_unused |
136 | 135 | ||
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index 412672a79e8a..bbd8d0027e2f 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h | |||
@@ -232,6 +232,8 @@ typedef unsigned char *sk_buff_data_t; | |||
232 | * @mark: Generic packet mark | 232 | * @mark: Generic packet mark |
233 | * @nfct: Associated connection, if any | 233 | * @nfct: Associated connection, if any |
234 | * @ipvs_property: skbuff is owned by ipvs | 234 | * @ipvs_property: skbuff is owned by ipvs |
235 | * @peeked: this packet has been seen already, so stats have been | ||
236 | * done for it, don't do them again | ||
235 | * @nf_trace: netfilter packet trace flag | 237 | * @nf_trace: netfilter packet trace flag |
236 | * @nfctinfo: Relationship of this skb to the connection | 238 | * @nfctinfo: Relationship of this skb to the connection |
237 | * @nfct_reasm: netfilter conntrack re-assembly pointer | 239 | * @nfct_reasm: netfilter conntrack re-assembly pointer |
diff --git a/include/net/sock.h b/include/net/sock.h index 8a7889b35810..fd9876087651 100644 --- a/include/net/sock.h +++ b/include/net/sock.h | |||
@@ -180,6 +180,7 @@ struct sock_common { | |||
180 | * @sk_sndmsg_off: cached offset for sendmsg | 180 | * @sk_sndmsg_off: cached offset for sendmsg |
181 | * @sk_send_head: front of stuff to transmit | 181 | * @sk_send_head: front of stuff to transmit |
182 | * @sk_security: used by security modules | 182 | * @sk_security: used by security modules |
183 | * @sk_mark: generic packet mark | ||
183 | * @sk_write_pending: a write to stream socket waits to start | 184 | * @sk_write_pending: a write to stream socket waits to start |
184 | * @sk_state_change: callback to indicate change in the state of the sock | 185 | * @sk_state_change: callback to indicate change in the state of the sock |
185 | * @sk_data_ready: callback to indicate there is data to be processed | 186 | * @sk_data_ready: callback to indicate there is data to be processed |