summaryrefslogtreecommitdiffstats
path: root/scripts/asn1_compiler.c
diff options
context:
space:
mode:
authorWei Liu <wei.liu2@citrix.com>2014-08-25 17:44:00 +0200
committerDavid S. Miller <davem@davemloft.net>2014-08-26 02:31:42 +0200
commite24f8191cc35ae3780b4656a6befae8b8657edc2 (patch)
tree63977cacb2047745e2bb00e06446dfaae7ff3548 /scripts/asn1_compiler.c
parentMerge branch 'tso_fix' (diff)
downloadlinux-e24f8191cc35ae3780b4656a6befae8b8657edc2.tar.xz
linux-e24f8191cc35ae3780b4656a6befae8b8657edc2.zip
xen-netback: move netif_napi_add before binding interrupt
Interrupt is enabled when bind_interdomain_evtchn_to_irqhandler returns. If there's interrupt pending interrupt handler is invoked. NAPI needs to be initialised before binding interrupt otherwise the interrupt handler will try to scheduling a NAPI instance that is not initialised yet, resulting in kernel OOPS. This fixes a regression introduced in ea2c5e13 ("xen-netback: move NAPI add/remove calls"). Ideally function calls to create kthreads should also be moved before binding but I intent to fix this regression with minimal changes and refactor the code with another patch. Reported-by: Thomas Leonard <talex5@gmail.com> Signed-off-by: Wei Liu <wei.liu2@citrix.com> Cc: Ian Campbell <ian.campbell@citrix.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/asn1_compiler.c')
0 files changed, 0 insertions, 0 deletions