Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.1
iscsitarget
iscsitarget-kernel-3.7.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File iscsitarget-kernel-3.7.patch of Package iscsitarget
Index: b/kernel/event.c =================================================================== --- a/kernel/event.c +++ b/kernel/event.c @@ -24,11 +24,11 @@ static void event_recv_skb(struct sk_buf if (nlh->nlmsg_len < sizeof(*nlh) || skb->len < nlh->nlmsg_len) break; rlen = NLMSG_ALIGN(nlh->nlmsg_len); if (rlen > skb->len) rlen = skb->len; - ietd_pid = NETLINK_CB(skb).pid; + ietd_pid = NETLINK_CB(skb).portid; WARN_ON(ietd_pid == 0); if (nlh->nlmsg_flags & NLM_F_ACK) netlink_ack(skb, nlh, 0); skb_pull(skb, rlen); } @@ -75,11 +75,10 @@ int event_init(void) .bind = NULL, }; nl = netlink_kernel_create(&init_net, NETLINK_IET, - THIS_MODULE, &cfg); if (!nl) return -ENOMEM; else return 0;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor