Eric Dumazet 30e6c9fa93 net: devnet_rename_seq should be a seqcount
Using a seqlock for devnet_rename_seq is not a good idea,
as device_rename() can sleep.

As we hold RTNL, we dont need a protection for writers,
and only need a seqcount so that readers can catch a change done
by a writer.

Bug added in commit c91f6df2db4972d3 (sockopt: Change getsockopt() of
SO_BINDTODEVICE to return an interface name)

Reported-by: Dave Jones <davej@redhat.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Brian Haley <brian.haley@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-12-21 13:14:01 -08:00
..
2012-12-19 12:47:41 -08:00
2012-11-26 10:19:17 -08:00
2012-12-11 11:19:09 -08:00
2012-12-13 19:26:04 -08:00
2012-12-07 17:02:47 +00:00
2012-12-19 12:46:40 -08:00
2012-11-30 12:37:36 +01:00
2012-12-02 00:05:12 +00:00
2012-11-15 00:34:23 +01:00
2012-12-20 13:57:36 -05:00
2012-11-08 16:58:31 +01:00
2012-11-28 11:54:40 +01:00
2012-10-16 18:49:15 -07:00
2012-11-22 13:43:27 +09:00
2012-11-28 21:49:02 -05:00
2012-11-28 21:49:02 -05:00
2012-11-08 16:58:30 +01:00
2012-11-21 10:07:48 +01:00
2012-10-29 21:31:32 +01:00
2012-12-16 15:18:08 -08:00
2012-12-16 15:18:08 -08:00
2012-11-23 12:23:40 +01:00
2012-12-14 13:05:26 +10:30
2012-11-21 15:09:26 -08:00
2012-11-08 11:24:46 -05:00
2012-11-20 16:15:02 +10:00
2012-11-03 14:50:15 -04:00
2012-10-10 01:15:44 -04:00
2012-12-12 17:38:33 -08:00
2012-12-16 15:18:08 -08:00
2012-12-16 15:18:08 -08:00
2012-12-20 18:46:29 -05:00
2012-12-16 15:18:08 -08:00
2012-10-10 20:00:55 +10:30
2012-12-14 13:06:40 +10:30
2012-12-11 17:22:27 -08:00
2012-10-17 15:53:02 -05:00
2012-10-10 22:41:05 -04:00
2012-12-13 12:14:47 -08:00
2012-11-16 14:33:04 -08:00
2012-12-18 15:02:13 -08:00
2012-12-18 15:02:14 -08:00
2012-10-27 15:38:29 -07:00
2012-10-22 16:58:28 -07:00
2012-11-15 17:20:58 -08:00
2012-12-16 15:18:08 -08:00