diff options
Diffstat (limited to 'net/ipv4')
| -rw-r--r-- | net/ipv4/udp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c index ce6c46034314..fc620a7c1db4 100644 --- a/net/ipv4/udp.c +++ b/net/ipv4/udp.c | |||
| @@ -1215,6 +1215,7 @@ int __udp4_lib_rcv(struct sk_buff *skb, struct hlist_head udptable[], | |||
| 1215 | 1215 | ||
| 1216 | if (ulen < sizeof(*uh) || pskb_trim_rcsum(skb, ulen)) | 1216 | if (ulen < sizeof(*uh) || pskb_trim_rcsum(skb, ulen)) |
| 1217 | goto short_packet; | 1217 | goto short_packet; |
| 1218 | uh = skb->h.uh; | ||
| 1218 | 1219 | ||
| 1219 | udp4_csum_init(skb, uh); | 1220 | udp4_csum_init(skb, uh); |
| 1220 | 1221 | ||
