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-11-30 10:50:22 +01:00
2012-07-19 10:48:00 -07:00
2012-12-21 13:14:01 -08:00
2012-12-11 14:08:47 -08:00
2012-06-15 15:30:15 -07:00
2012-05-17 18:45:20 -04:00
2012-09-26 21:10:25 -04:00