projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0417788
)
libceph: add missing breaks in addr_set_port
author
Sage Weil
<sage@newdream.net>
Thu, 12 May 2011 22:34:24 +0000
(15:34 -0700)
committer
Sage Weil
<sage@newdream.net>
Thu, 19 May 2011 18:25:05 +0000
(11:25 -0700)
Signed-off-by: Sage Weil <sage@newdream.net>
net/ceph/messenger.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ceph/messenger.c
b/net/ceph/messenger.c
index 35c0000a658eff22093fef0bded35bb5da05d0c5..78b55f49de7cba5bbdf0fb872b4b3c0464190f04 100644
(file)
--- a/
net/ceph/messenger.c
+++ b/
net/ceph/messenger.c
@@
-1073,8
+1073,10
@@
static void addr_set_port(struct sockaddr_storage *ss, int p)
switch (ss->ss_family) {
case AF_INET:
((struct sockaddr_in *)ss)->sin_port = htons(p);
+ break;
case AF_INET6:
((struct sockaddr_in6 *)ss)->sin6_port = htons(p);
+ break;
}
}