aboutsummaryrefslogtreecommitdiff
path: root/fs/jbd/commit.c
diff options
context:
space:
mode:
authorCong Wang <[email protected]>2012-12-10 02:15:35 +0000
committerDavid S. Miller <[email protected]>2012-12-11 13:44:09 -0500
commit2ce297fc24d1f0b70c756d1f593e7a089a2d888d (patch)
treec29d8d8f76ff8c8d574e70a9c28aa06a0a4b4211 /fs/jbd/commit.c
parent2925f6c0c7af32720dcbadc586463aeceb6baa22 (diff)
bridge: fix seq check in br_mdb_dump()
In case of rehashing, introduce a global variable 'br_mdb_rehash_seq' which gets increased every time when rehashing, and assign net->dev_base_seq + br_mdb_rehash_seq to cb->seq. In theory cb->seq could be wrapped to zero, but this is not easy to fix, as net->dev_base_seq is not visible inside br_mdb_rehash(). In practice, this is rare. Cc: Herbert Xu <[email protected]> Cc: Stephen Hemminger <[email protected]> Cc: "David S. Miller" <[email protected]> Cc: Thomas Graf <[email protected]> Cc: Jesper Dangaard Brouer <[email protected]> Signed-off-by: Cong Wang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions