projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[SK_BUFF]: Introduce skb_transport_header(skb)
[deliverable/linux.git]
/
include
/
net
/
udp.h
diff --git
a/include/net/udp.h
b/include/net/udp.h
index 4a9699f79281153d62ebf38b08f2713a1067cd64..4906ed7113e7e887df984560b0a0d23d1789167d 100644
(file)
--- a/
include/net/udp.h
+++ b/
include/net/udp.h
@@
-89,8
+89,8
@@
static inline int udp_lib_checksum_complete(struct sk_buff *skb)
*/
static inline __wsum udp_csum_outgoing(struct sock *sk, struct sk_buff *skb)
{
*/
static inline __wsum udp_csum_outgoing(struct sock *sk, struct sk_buff *skb)
{
- __wsum csum = csum_partial(skb
->h.raw, sizeof(struct udphdr), 0);
-
+ __wsum csum = csum_partial(skb
_transport_header(skb),
+ sizeof(struct udphdr), 0);
skb_queue_walk(&sk->sk_write_queue, skb) {
csum = csum_add(csum, skb->csum);
}
skb_queue_walk(&sk->sk_write_queue, skb) {
csum = csum_add(csum, skb->csum);
}
This page took
0.024496 seconds
and
5
git commands to generate.