git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
virtio: add virtio disk geometry feature
[safe/jmp/linux-2.6]
/
include
/
net
/
udplite.h
diff --git
a/include/net/udplite.h
b/include/net/udplite.h
index
7650320
..
b76b2e3
100644
(file)
--- a/
include/net/udplite.h
+++ b/
include/net/udplite.h
@@
-13,9
+13,6
@@
extern struct proto udplite_prot;
extern struct hlist_head udplite_hash[UDP_HTABLE_SIZE];
extern struct proto udplite_prot;
extern struct hlist_head udplite_hash[UDP_HTABLE_SIZE];
-/* UDP-Lite does not have a standardized MIB yet, so we inherit from UDP */
-DECLARE_SNMP_STAT(struct udp_mib, udplite_statistics);
-
/*
* Checksum computation is all in software, hence simpler getfrag.
*/
/*
* Checksum computation is all in software, hence simpler getfrag.
*/
@@
-101,7
+98,7
@@
static inline int udplite_sender_cscov(struct udp_sock *up, struct udphdr *uh)
static inline __wsum udplite_csum_outgoing(struct sock *sk, struct sk_buff *skb)
{
static inline __wsum udplite_csum_outgoing(struct sock *sk, struct sk_buff *skb)
{
- int cscov = udplite_sender_cscov(udp_sk(sk),
skb->h.uh
);
+ int cscov = udplite_sender_cscov(udp_sk(sk),
udp_hdr(skb)
);
__wsum csum = 0;
skb->ip_summed = CHECKSUM_NONE; /* no HW support for checksumming */
__wsum csum = 0;
skb->ip_summed = CHECKSUM_NONE; /* no HW support for checksumming */