diff options
author | Dongli Zhang <dongli.zhang@oracle.com> | 2019-04-12 08:53:24 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-12 19:10:28 +0200 |
commit | 6dc400af216a79c10cb082f25a7337bcbf532045 (patch) | |
tree | 26989f2a1ffae70d912a5f017767bd94066cd117 /net | |
parent | Merge branch 'sctp-skb-list' (diff) | |
download | linux-6dc400af216a79c10cb082f25a7337bcbf532045.tar.xz linux-6dc400af216a79c10cb082f25a7337bcbf532045.zip |
xen-netback: add reference from xenvif to backend_info to facilitate coredump analysis
During coredump analysis, it is not easy to obtain the address of
backend_info in xen-netback.
So far there are two ways to obtain backend_info:
1. Do what xenbus_device_find() does for vmcore to find the xenbus_device
and then derive it from dev_get_drvdata().
2. Extract backend_info from callstack of xenwatch (e.g., netback_remove()
or frontend_changed()).
This patch adds a reference from xenvif to backend_info so that it would be
much more easier to obtain backend_info during coredump analysis.
Signed-off-by: Dongli Zhang <dongli.zhang@oracle.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions