Project

General

Profile

Bug #1879 ยป 0001-GTP-Fix-initialization-of-Flags-octet-in-GTPv1-heade.patch

laforge, 12/15/2016 07:45 PM

View differences:

drivers/net/gtp.c
423 423

  
424 424
	/* Bits    8  7  6  5  4  3  2	1
425 425
	 *	  +--+--+--+--+--+--+--+--+
426
	 *	  |version |PT| 1| E| S|PN|
426
	 *	  |version |PT| 0| E| S|PN|
427 427
	 *	  +--+--+--+--+--+--+--+--+
428 428
	 *	    0  0  1  1	1  0  0  0
429 429
	 */
430
	gtp1->flags	= 0x38; /* v1, GTP-non-prime. */
430
	gtp1->flags	= 0x30; /* v1, GTP-non-prime. */
431 431
	gtp1->type	= GTP_TPDU;
432 432
	gtp1->length	= htons(payload_len);
433 433
	gtp1->tid	= htonl(pctx->u.v1.o_tei);
    (1-1/1)
    Add picture from clipboard (Maximum size: 48.8 MB)