summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
diff options
context:
space:
mode:
authorPravin B Shelar <pshelar@nicira.com>2013-08-23 12:45:04 -0700
committerDavid S. Miller <davem@davemloft.net>2013-08-28 17:19:17 -0400
commit33c6b1f6b154894321f5734e50c66621e9134e7e (patch)
treeb064251e8081c3dba7115b44ea6db15d240e1204 /drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
parent9b96309c5b0b9e466773c07a5bc8b7b68fcf010a (diff)
downloadblackbird-op-linux-33c6b1f6b154894321f5734e50c66621e9134e7e.tar.gz
blackbird-op-linux-33c6b1f6b154894321f5734e50c66621e9134e7e.zip
genl: Hold reference on correct module while netlink-dump.
netlink dump operations take module as parameter to hold reference for entire netlink dump duration. Currently it holds ref only on genl module which is not correct when we use ops registered to genl from another module. Following patch adds module pointer to genl_ops so that netlink can hold ref count on it. CC: Jesse Gross <jesse@nicira.com> CC: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Pravin B Shelar <pshelar@nicira.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud