summaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_init.h
diff options
context:
space:
mode:
authorJeffrey Knockel <jeffk@cs.unm.edu>2014-11-12 07:47:20 -0700
committerBen Hutchings <ben@decadent.org.uk>2014-12-14 16:24:01 +0000
commit607d8297d5d78dc84dc8257a60f2c0a5863a07d6 (patch)
tree36d9c75ce4bc11a1df1190345c23a5f7dc1a6390 /drivers/scsi/mpt2sas/mpi/mpi2_init.h
parente87cf8149d14c01a665e65029ad76530b228e901 (diff)
Patch for 3.2.x, 3.4.x IP identifier regression
With commits 73f156a6e8c1 ("inetpeer: get rid of ip_id_count") and 04ca6973f7c1 ("ip: make IP identifiers less predictable"), IP identifiers are generated from a counter chosen from an array of counters indexed by the hash of the outgoing packet header's source address, destination address, and protocol number. Thus, in __ip_make_skb(), we must now call ip_select_ident() only after setting these fields in the IP header to prevent IP identifiers from being generated from bogus counters. IP id sequence before fix: 18174, 5789, 5953, 59420, 59637, ... After fix: 5967, 6185, 6374, 6600, 6795, 6892, 7051, 7288, ... Signed-off-by: Jeffrey Knockel <jeffk@cs.unm.edu> Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Cc: Eric Dumazet <edumazet@google.com>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_init.h')
0 files changed, 0 insertions, 0 deletions