port of a3f27f8751 to kernel space

Change-Id: Ia31e7c343b569b330af1fb4e5b0a003a4f0d05b1
(cherry picked from commit b4694eb2e2)
mr4.5.5
Richard Fuchs 9 years ago
parent 65f66506c1
commit fb91b8f391

@ -2501,7 +2501,7 @@ static unsigned int rtpengine46(struct sk_buff *skb, struct rtpengine_table *t,
u32 = (void *) skb->data;
if (u32[1] != htonl(0x2112A442UL)) /* magic cookie */
goto not_stun;
if ((u32[0] & htonl(0xb0000003UL))) /* zero bits required by rfc */
if ((u32[0] & htonl(0xc0000003UL))) /* zero bits required by rfc */
goto not_stun;
u32 = (void *) &skb->data[datalen - 8];
if (u32[0] != htonl(0x80280004UL)) /* required fingerprint attribute */

Loading…
Cancel
Save